Skip to content

Commit

Permalink
fixup: wrap test
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Sep 11, 2019
1 parent cd03f5b commit fd8f2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-wrap-js-stream-exceptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
})
Expand Down

0 comments on commit fd8f2b6

Please sign in to comment.