Skip to content

Commit

Permalink
test: update windows module load error message
Browse files Browse the repository at this point in the history
libuv 1.14.0 includes a fix for the "%1 is not a valid Win32
application" error message.

Refs: nodejs/node#14866
PR-URL: nodejs/node#14950
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
cjihrig authored and addaleax committed Aug 25, 2017
1 parent 7a10dc5 commit dd29648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-module-loading-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const assert = require('assert');
const { execSync } = require('child_process');

const errorMessagesByPlatform = {
win32: ['%1 is not a valid Win32 application'],
win32: ['is not a valid Win32 application'],
linux: ['file too short', 'Exec format error'],
sunos: ['unknown file type', 'not an ELF file'],
darwin: ['file too short'],
Expand Down

0 comments on commit dd29648

Please sign in to comment.