summaryrefslogtreecommitdiff
path: root/test/parallel/test-wrap-js-stream-exceptions.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-wrap-js-stream-exceptions.js')
-rw-r--r--test/parallel/test-wrap-js-stream-exceptions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-wrap-js-stream-exceptions.js b/test/parallel/test-wrap-js-stream-exceptions.js
index cde7c17844..eeab26f525 100644
--- a/test/parallel/test-wrap-js-stream-exceptions.js
+++ b/test/parallel/test-wrap-js-stream-exceptions.js
@@ -10,7 +10,7 @@ process.once('uncaughtException', common.mustCall((err) => {
}));
const socket = new JSStreamWrap(new Duplex({
- read: common.mustCall(),
+ read: common.mustNotCall(),
write: common.mustCall((buffer, data, cb) => {
throw new Error('exception!');
})