test: update expected error message for macOS
PR-URL: https://github.com/nodejs/node/pull/57742 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
8456a12459
commit
33f6e1ea29
@ -28,7 +28,7 @@ const errorMessagesByPlatform = {
|
||||
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', 'not a mach-o file'],
|
||||
darwin: ['file too short', 'not a mach-o file', 'not valid mach-o file'],
|
||||
aix: ['Cannot load module',
|
||||
'Cannot run a file that does not have a valid format.',
|
||||
'Exec format error'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user