Skip to content

Commit 9af8b92

Browse files
aduh95RafaelGSS
authored andcommitted
test: update expected error message for macOS
PR-URL: #57742 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy