Skip to content

Commit 3fc4543

Browse files
committed
[Squash] Address nits
1 parent 716a19c commit 3fc4543

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-vm-syntax-error-message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const p = child_process.spawn(process.execPath, [
1111
'catch (e) { console.log(e.message); }'
1212
]);
1313

14-
p.stderr.on('data', common.mustNotCall);
14+
p.stderr.on('data', common.mustNotCall());
1515

1616
let output = '';
1717

test/parallel/test-vm-syntax-error-stderr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const p = child_process.spawn(process.execPath, [
1212
wrong_script
1313
]);
1414

15-
p.stdout.on('data', common.mustNotCall);
15+
p.stdout.on('data', common.mustNotCall());
1616

1717
let output = '';
1818

0 commit comments

Comments
 (0)