Skip to content

Commit dc4bdab

Browse files
committed
Revert "test: wrap functions containing assertions inside a common.mustCall"
This reverts commit 91fa0e1.
1 parent 91fa0e1 commit dc4bdab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-child-process-env.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ child.stdout.on('data', (chunk) => {
5353
response += chunk;
5454
});
5555

56-
process.on('exit', common.mustCall(() => {
56+
process.on('exit', () => {
5757
assert.ok(response.includes('HELLO=WORLD'));
5858
assert.ok(response.includes('FOO=BAR'));
5959
assert.ok(!response.includes('UNDEFINED=undefined'));
6060
assert.ok(response.includes('NULL=null'));
6161
assert.ok(response.includes(`EMPTY=${os.EOL}`));
62-
}));
62+
});

0 commit comments

Comments
 (0)