Skip to content

Commit 9af8b92

Browse files
aduh95RafaelGSS
authored andcommitted
test: update expected error message for macOS
PR-URL: #57742 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 6556212 commit 9af8b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const errorMessagesByPlatform = {
2828
win32: ['is not a valid Win32 application'],
2929
linux: ['file too short', 'Exec format error'],
3030
sunos: ['unknown file type', 'not an ELF file'],
31-
darwin: ['file too short', 'not a mach-o file'],
31+
darwin: ['file too short', 'not a mach-o file', 'not valid mach-o file'],
3232
aix: ['Cannot load module',
3333
'Cannot run a file that does not have a valid format.',
3434
'Exec format error'],

0 commit comments

Comments
 (0)