From 456971ceb93e23ff88ce870612ae2e184bba8e60 Mon Sep 17 00:00:00 2001 From: LingyuCoder Date: Wed, 24 Apr 2024 12:33:44 +0800 Subject: [PATCH] chore: remove case sensitive case of webpack-test --- webpack-test/cases/errors/case-sensitive/A.js | 0 webpack-test/cases/errors/case-sensitive/B/file.js | 0 webpack-test/cases/errors/case-sensitive/a.js | 0 webpack-test/cases/errors/case-sensitive/b/file.js | 0 webpack-test/cases/errors/case-sensitive/index.js | 8 -------- .../cases/errors/case-sensitive/test.filter.js | 10 ---------- webpack-test/cases/errors/case-sensitive/warnings.js | 4 ---- 7 files changed, 22 deletions(-) delete mode 100644 webpack-test/cases/errors/case-sensitive/A.js delete mode 100644 webpack-test/cases/errors/case-sensitive/B/file.js delete mode 100644 webpack-test/cases/errors/case-sensitive/a.js delete mode 100644 webpack-test/cases/errors/case-sensitive/b/file.js delete mode 100644 webpack-test/cases/errors/case-sensitive/index.js delete mode 100644 webpack-test/cases/errors/case-sensitive/test.filter.js delete mode 100644 webpack-test/cases/errors/case-sensitive/warnings.js diff --git a/webpack-test/cases/errors/case-sensitive/A.js b/webpack-test/cases/errors/case-sensitive/A.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/webpack-test/cases/errors/case-sensitive/B/file.js b/webpack-test/cases/errors/case-sensitive/B/file.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/webpack-test/cases/errors/case-sensitive/a.js b/webpack-test/cases/errors/case-sensitive/a.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/webpack-test/cases/errors/case-sensitive/b/file.js b/webpack-test/cases/errors/case-sensitive/b/file.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/webpack-test/cases/errors/case-sensitive/index.js b/webpack-test/cases/errors/case-sensitive/index.js deleted file mode 100644 index c42f65350d68..000000000000 --- a/webpack-test/cases/errors/case-sensitive/index.js +++ /dev/null @@ -1,8 +0,0 @@ -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"); - expect(a).not.toBe(A); - expect(b).not.toBe(B); -}); diff --git a/webpack-test/cases/errors/case-sensitive/test.filter.js b/webpack-test/cases/errors/case-sensitive/test.filter.js deleted file mode 100644 index d5f8fc3ecd0e..000000000000 --- a/webpack-test/cases/errors/case-sensitive/test.filter.js +++ /dev/null @@ -1,10 +0,0 @@ - -/**var fs = require("fs"); -var path = require("path"); - -module.exports = function(config) { - return fs.existsSync(path.join(__dirname, "TEST.FILTER.JS")); -}; -*/ -module.exports = () => true - \ No newline at end of file diff --git a/webpack-test/cases/errors/case-sensitive/warnings.js b/webpack-test/cases/errors/case-sensitive/warnings.js deleted file mode 100644 index 99ac2e5cf9eb..000000000000 --- a/webpack-test/cases/errors/case-sensitive/warnings.js +++ /dev/null @@ -1,4 +0,0 @@ -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/] -];