diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-stream-writev.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/parallel/test-stream-writev.js b/test/parallel/test-stream-writev.js index 1123e66ddc..7aba543f07 100644 --- a/test/parallel/test-stream-writev.js +++ b/test/parallel/test-stream-writev.js @@ -119,3 +119,12 @@ function test(decode, uncork, multi, next) { next(); }); } + +{ + const w = new stream.Writable({ + writev: common.mustCall(function(chunks, cb) { + cb(); + }) + }); + w.write('asd', common.mustCall()); +} |