Skip to content

Commit e244f84

Browse files
cjihrigMylesBorins
authored andcommitted
test: update windows module load error message
libuv 1.14.0 includes a fix for the "%1 is not a valid Win32 application" error message. Refs: #14866 PR-URL: #14950 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 7f1ea7c commit e244f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-module-loading-error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const assert = require('assert');
2525
const { execSync } = require('child_process');
2626

2727
const errorMessagesByPlatform = {
28-
win32: ['%1 is not a valid Win32 application'],
28+
win32: ['is not a valid Win32 application'],
2929
linux: ['file too short', 'Exec format error'],
3030
sunos: ['unknown file type', 'not an ELF file'],
3131
darwin: ['file too short'],

0 commit comments

Comments
 (0)