Skip to content

Commit b544f97

Browse files
committed
fixup: move on 'finish'
1 parent 7da4656 commit b544f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-stream-writable-finish-destroyed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const { Writable } = require('stream');
1212
})
1313
});
1414

15+
w.on('finish', common.mustNotCall());
1516
w.end('asd');
1617
w.destroy();
17-
w.on('finish', common.mustNotCall());
1818
}
1919

2020
{

0 commit comments

Comments
 (0)