Skip to content

Commit 9b5a84e

Browse files
committed
fixup: typo when merging tests
1 parent a4542b7 commit 9b5a84e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/parallel/test-stream-finished.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ const { promisify } = require('util');
302302
{
303303
// Completes if already finished.
304304

305-
const w = new W();
305+
const w = new Writable();
306306
finished(w, common.mustCall(() => {
307307
finished(w, common.mustCall());
308308
}));
@@ -312,7 +312,7 @@ const { promisify } = require('util');
312312
{
313313
// Completes if already ended.
314314

315-
const r = new R();
315+
const r = new Readable();
316316
finished(r, common.mustCall(() => {
317317
finished(r, common.mustCall());
318318
}));

0 commit comments

Comments
 (0)