Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/parallel/test-sync-io-option.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ if (process.argv[2] === 'child') {
// Prints 4 WARNINGS for --trace-sync-io. 1 for each sync call
// inside readFileSync
assert.equal(cntr1, 4);
} else if (execArgv[0] === ' ')
} else if (execArgv[0] === ' ') {
assert.equal(cntr1, 0);
else
} else {
throw new Error('UNREACHABLE');
}

if (flags.length > 0)
setImmediate(runTest, flags);
Expand Down