Browse Source

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: https://github.com/nodejs/node/pull/14866
PR-URL: https://github.com/nodejs/node/pull/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>
canary-base
cjihrig 7 years ago
parent
commit
9eb8f44060
No known key found for this signature in database GPG Key ID: 7434390BDBE9B9C5
  1. 2
      test/parallel/test-module-loading-error.js

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

@ -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'],

Loading…
Cancel
Save