Skip to content

Commit

Permalink
update test error message for go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Feb 3, 2023
1 parent d720969 commit 606c425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/end-to-end-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -6006,7 +6006,7 @@ for (const length of [0, 1, 2, 3, 4, 5, 6, 7, 8, 256]) {

// Test file handle errors other than ENOENT
{
const errorText = process.platform === 'win32' ? 'The handle is invalid.' : 'is a directory';
const errorText = process.platform === 'win32' ? 'Incorrect function.' : 'is a directory';
tests.push(
test(['src/entry.js', '--bundle', '--outfile=node.js', '--sourcemap'], {
'src/entry.js': `
Expand Down

0 comments on commit 606c425

Please sign in to comment.