Skip to content

Commit

Permalink
Revert "test: wrap functions containing assertions inside a `common.m…
Browse files Browse the repository at this point in the history
…ustCall`"

This reverts commit 91fa0e1.
  • Loading branch information
sagirk committed Nov 21, 2018
1 parent 91fa0e1 commit dc4bdab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-child-process-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ child.stdout.on('data', (chunk) => {
response += chunk;
});

process.on('exit', common.mustCall(() => {
process.on('exit', () => {
assert.ok(response.includes('HELLO=WORLD'));
assert.ok(response.includes('FOO=BAR'));
assert.ok(!response.includes('UNDEFINED=undefined'));
assert.ok(response.includes('NULL=null'));
assert.ok(response.includes(`EMPTY=${os.EOL}`));
}));
});

0 comments on commit dc4bdab

Please sign in to comment.