Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! test: improve coverage for load hooks
  • Loading branch information
aduh95 committed Jun 17, 2022
commit 3e399b2fa1b2ce5d48237e91cf18b6d504157647
4 changes: 2 additions & 2 deletions test/es-module/test-esm-loader-thenable.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { execPath } from 'process';
child.on('close', mustCall((code, _signal) => {
notStrictEqual(code, 0);

match(stderr, /\sError: must crash the process\n/);
match(stderr, /\sError: must crash the process\r?\n/);

ok(!stderr.includes('must not call'));
}));
Expand All @@ -58,7 +58,7 @@ import { execPath } from 'process';
child.on('close', mustCall((code, _signal) => {
notStrictEqual(code, 0);

match(stderr, /\sundefined\n/);
match(stderr, /\sundefined\r?\n/);

ok(!stderr.includes('must not call'));
}));
Expand Down