projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8676319
)
test: fix jslint error
author
Michaël Zasso
<mic.besace@gmail.com>
Wed, 20 May 2015 09:29:08 +0000
(11:29 +0200)
committer
Roman Reiss
<me@silverwind.io>
Wed, 20 May 2015 12:13:37 +0000
(14:13 +0200)
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>
test/parallel/test-sync-io-option.js
patch
|
blob
|
history
diff --git
a/test/parallel/test-sync-io-option.js
b/test/parallel/test-sync-io-option.js
index
2dc0bf4
..
be817c4
100644
(file)
--- a/
test/parallel/test-sync-io-option.js
+++ b/
test/parallel/test-sync-io-option.js
@@
-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);