Skip to content

Commit

Permalink
test: fix jslint error
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#1743
Fixes: nodejs/node#1742
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
targos authored and andrewdeandrade committed Jun 3, 2015
1 parent a3ae211 commit 0c4c2b5
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 0c4c2b5

Please sign in to comment.