mirror of https://github.com/webpack/webpack.git
add test case for case sensitive module warning
This commit is contained in:
parent
324d309107
commit
351a587080
|
@ -0,0 +1,8 @@
|
||||||
|
it("should return different modules with different casing", function() {
|
||||||
|
var a = require("./a");
|
||||||
|
var A = require("./A");
|
||||||
|
var b = require("./b/file.js");
|
||||||
|
var B = require("./B/file.js");
|
||||||
|
a.should.not.be.equal(A);
|
||||||
|
b.should.not.be.equal(B);
|
||||||
|
});
|
|
@ -0,0 +1,4 @@
|
||||||
|
module.exports = [
|
||||||
|
[/There are multiple modules with names that only differ in casing/, /case-sensistive.A\.js/, /case-sensistive.a\.js/],
|
||||||
|
[/There are multiple modules with names that only differ in casing/, /case-sensistive.B.file\.js/, /case-sensistive.b.file\.js/]
|
||||||
|
];
|
Loading…
Reference in New Issue