Skip to content

Commit

Permalink
fixup: add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bzoz committed Aug 20, 2020
1 parent c88bb39 commit aa20c6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/parallel/test-unicode-node-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ if (process.argv.length === 2) {
const NODE_OPTIONS = `--redirect-warnings=${expected_redirect_value}`;
const result = cp.spawnSync(process.argv0,
['--expose-internals', __filename, 'test'],
{ env: { NODE_OPTIONS } });
{
env: { NODE_OPTIONS },
stdio: 'inherit'
});
assert.strictEqual(result.status, 0);
} else {
const redirect_value = getOptionValue('--redirect-warnings');
console.log(`--redirect-warings=${redirect_value}`);
assert.strictEqual(redirect_value, expected_redirect_value);
}

0 comments on commit aa20c6f

Please sign in to comment.