mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
test: update error message keywords
This testcase failed on Apple Silicon M1, add the error message pattern: `not a mach-o file` PR-URL: https://github.com/nodejs/node/pull/39826 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe>
This commit is contained in:
1 parent
32aff2f5a0
commit
c4ff5e4a7e
1 file changed
+1
-1
@@ -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'],
|
||||
darwin: ['file too short', 'not a mach-o file'],
|
||||
aix: ['Cannot load module',
|
||||
'Cannot run a file that does not have a valid format.',
|
||||
'Exec format error'],
|
||||
|
||||
Reference in new issue
Block a user