Skip to content

Commit

Permalink
fix tests: add message ids (non-linux messages)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed May 29, 2022
1 parent 4296945 commit eda0e02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/end-to-end-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -6254,13 +6254,13 @@
'file1.js': `export default 123`,
'File2.js': `export default 234`,
}, {
expectedStderr: `▲ [WARNING] Use "file1.js" instead of "File1.js" to avoid issues with case-sensitive file systems
expectedStderr: `▲ [WARNING] Use "file1.js" instead of "File1.js" to avoid issues with case-sensitive file systems [different-path-case]
in.js:2:24:
2 │ import x from "./File1.js"
╵ ~~~~~~~~~~~~
▲ [WARNING] Use "File2.js" instead of "file2.js" to avoid issues with case-sensitive file systems
▲ [WARNING] Use "File2.js" instead of "file2.js" to avoid issues with case-sensitive file systems [different-path-case]
in.js:3:24:
3 │ import y from "./file2.js"
Expand Down Expand Up @@ -6288,13 +6288,13 @@
'node_modules/pkg/file1.js': `export default 123`,
'node_modules/pkg/File2.js': `export default 234`,
}, {
expectedStderr: `▲ [WARNING] Use "node_modules/pkg/file1.js" instead of "node_modules/pkg/File1.js" to avoid issues with case-sensitive file systems
expectedStderr: `▲ [WARNING] Use "node_modules/pkg/file1.js" instead of "node_modules/pkg/File1.js" to avoid issues with case-sensitive file systems [different-path-case]
in.js:2:24:
2 │ import x from "pkg/File1.js"
╵ ~~~~~~~~~~~~~~
▲ [WARNING] Use "node_modules/pkg/File2.js" instead of "node_modules/pkg/file2.js" to avoid issues with case-sensitive file systems
▲ [WARNING] Use "node_modules/pkg/File2.js" instead of "node_modules/pkg/file2.js" to avoid issues with case-sensitive file systems [different-path-case]
in.js:3:24:
3 │ import y from "pkg/file2.js"
Expand Down

0 comments on commit eda0e02

Please sign in to comment.