summaryrefslogtreecommitdiff
path: root/test/parallel/test-stream2-read-sync-stack.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-stream2-read-sync-stack.js')
-rw-r--r--test/parallel/test-stream2-read-sync-stack.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-stream2-read-sync-stack.js b/test/parallel/test-stream2-read-sync-stack.js
index b9ac0c7a67..3f70588946 100644
--- a/test/parallel/test-stream2-read-sync-stack.js
+++ b/test/parallel/test-stream2-read-sync-stack.js
@@ -41,6 +41,6 @@ r.on('readable', function onReadable() {
r.read(N * 2);
});
-r.on('end', common.mustCall(function() {}));
+r.on('end', common.mustCall());
r.read(0);