test: fix jslint error

PR-URL: https://github.com/nodejs/io.js/pull/1743
Fixes: https://github.com/nodejs/io.js/issues/1742
Reviewed-By: Roman Reiss <me@silverwind.io>
pull/1743/merge
Michaël Zasso 2015-05-20 11:29:08 +02:00 committed by Roman Reiss
parent 867631986f
commit 5773438913
1 changed files with 3 additions and 2 deletions

View File

@ -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);