Skip to content

Commit

Permalink
[squash] reorder asserts to get proper debug output on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Oct 21, 2016
1 parent 4038272 commit c0e5fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-process-execpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if (process.argv[2] === 'child') {
fs.symlinkSync(process.execPath, symlinkedNode);

const proc = child_process.spawnSync(symlinkedNode, [__filename, 'child']);
assert.strictEqual(proc.status, 0);
assert.strictEqual(proc.stderr.toString(), '');
assert.strictEqual(proc.stdout.toString(), `${process.execPath}\n`);
assert.strictEqual(proc.status, 0);
}

0 comments on commit c0e5fa6

Please sign in to comment.