Skip to content

Commit fb68ef2

Browse files
abelmarktargos
authored andcommitted
lib: added common.restoreStderr(); to end of file
Fixes: #22472 Co-authored-by: Denys Otrishko <[email protected]> PR-URL: #22487 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent b69ed9c commit fb68ef2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-util-log.js

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const {
2525
hijackStdout,
2626
hijackStderr,
2727
restoreStdout,
28+
restoreStderr,
2829
} = require('../common/hijackstdio');
2930
const assert = require('assert');
3031
const util = require('util');
@@ -63,3 +64,4 @@ tests.forEach(function(test) {
6364
assert.strictEqual(process.stdout.writeTimes, tests.length);
6465

6566
restoreStdout();
67+
restoreStderr();

0 commit comments

Comments
 (0)