We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8456a12 commit 33f6e1eCopy full SHA for 33f6e1e
test/parallel/test-module-loading-error.js
@@ -28,7 +28,7 @@ const errorMessagesByPlatform = {
28
win32: ['is not a valid Win32 application'],
29
linux: ['file too short', 'Exec format error'],
30
sunos: ['unknown file type', 'not an ELF file'],
31
- darwin: ['file too short', 'not a mach-o file'],
+ darwin: ['file too short', 'not a mach-o file', 'not valid mach-o file'],
32
aix: ['Cannot load module',
33
'Cannot run a file that does not have a valid format.',
34
'Exec format error'],
0 commit comments