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:
Antoine du Hamel authored and GitHub committed 2025-04-06 14:20:04 +00:00
1 parent 8456a12459
commit 33f6e1ea29
1 file changed
+1 -1
+1 -1
View File
@@ -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'],