Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
change comment style
  • Loading branch information
jlvivero committed Sep 28, 2017
commit 728405da2886066c5961f0757ae4d5b26315e60b
8 changes: 4 additions & 4 deletions test/sequential/test-stream-writable-clear-buffer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
const common = require('../common');
const Stream = require('stream');
//this test ensures that the _writeableState.bufferedRequestCount and
// This test ensures that the _writeableState.bufferedRequestCount and
// the actual buffered request count are the same
const assert = require('assert');

Expand All @@ -10,9 +10,9 @@ class StreamWritable extends Stream.Writable {
super({ objectMode: true });
}

//We need a timeout like on the original issue thread
//otherwise the code will never reach our test case
//this means this should go on the sequential folder.
// We need a timeout like on the original issue thread
// otherwise the code will never reach our test case
// this means this should go on the sequential folder.
_write(chunk, encoding, cb) {
setTimeout(cb, common.platformTimeout(10));
}
Expand Down