Skip to content

Commit 1cb4963

Browse files
aelhorlpinca
andauthored
Update test/parallel/test-duplex-error.js
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
1 parent 4e2b853 commit 1cb4963

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/parallel/test-duplex-error.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,3 @@ sideB.resume();
2020

2121
sideB.destroy(new Error('Simulated error'));
2222

23-
// Wrap the callback in common.mustCall()
24-
setImmediate(common.mustCall(() => {
25-
assert.strictEqual(sideAErrorReceived, true);
26-
assert.strictEqual(sideBErrorReceived, true);
27-
}));

0 commit comments

Comments
 (0)