Skip to content

Commit

Permalink
test: fix jslint error
Browse files Browse the repository at this point in the history
PR-URL: #1743
Fixes: #1742
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
targos authored and silverwind committed May 20, 2015
1 parent 8676319 commit 5773438
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 5773438

Please sign in to comment.