diff --git a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/A.js b/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/A.js deleted file mode 100644 index 8b137891791..00000000000 --- a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/A.js +++ /dev/null @@ -1 +0,0 @@ - diff --git a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/B/file.js b/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/B/file.js deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/a.js b/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/a.js deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/b/file.js b/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/b/file.js deleted file mode 100644 index 8b137891791..00000000000 --- a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/b/file.js +++ /dev/null @@ -1 +0,0 @@ - diff --git a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/index.js b/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/index.js deleted file mode 100644 index 7e0e2424849..00000000000 --- a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/index.js +++ /dev/null @@ -1,9 +0,0 @@ -it("should return different modules with different casing", done => { - var a = require("./a"); - var A = require("./A"); - var b = require("./b/file.js"); - var B = require("./B/file.js"); - expect(a).not.toBe(A); - expect(b).not.toBe(B); - done(); -}); diff --git a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/warnings.js b/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/warnings.js deleted file mode 100644 index 9338bc78177..00000000000 --- a/packages/rspack-test-tools/tests/cases/warnings/case-sensitive/warnings.js +++ /dev/null @@ -1,14 +0,0 @@ -// expect 2 warnings -// the sequence of warnings is not guaranteed -module.exports = [ - [ - /There are multiple modules with names that only differ in casing/, - /case-sensitive.A\.js/, - /case-sensitive.a\.js/ - ], - [ - /There are multiple modules with names that only differ in casing/, - /case-sensitive.B.file\.js/, - /case-sensitive.b.file\.js/ - ] -];