diff options
Diffstat (limited to 'test/parallel/test-fs-write-stream-err.js')
-rw-r--r-- | test/parallel/test-fs-write-stream-err.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-fs-write-stream-err.js b/test/parallel/test-fs-write-stream-err.js index 36bf9dbcfb..0db517da2a 100644 --- a/test/parallel/test-fs-write-stream-err.js +++ b/test/parallel/test-fs-write-stream-err.js @@ -38,17 +38,17 @@ fs.write = function() { switch (writeCalls++) { case 0: console.error('first write'); - // first time is ok. + // First time is ok. return write.apply(fs, arguments); case 1: - // then it breaks + // Then it breaks. console.error('second write'); const cb = arguments[arguments.length - 1]; return process.nextTick(function() { cb(err); }); default: - // and should not be called again! + // It should not be called again! throw new Error('BOOM!'); } }; |