Skip to content

Commit

Permalink
lib: added common.restoreStderr(); to end of file
Browse files Browse the repository at this point in the history
Fixes: nodejs#22472
Co-authored-by: Denys Otrishko <[email protected]>

PR-URL: nodejs#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]>
  • Loading branch information
abelmark authored and addaleax committed Sep 19, 2018
1 parent 19ad6b8 commit ed35df7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-util-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const {
hijackStdout,
hijackStderr,
restoreStdout,
restoreStderr,
} = require('../common/hijackstdio');
const assert = require('assert');
const util = require('util');
Expand Down Expand Up @@ -63,3 +64,4 @@ tests.forEach(function(test) {
assert.strictEqual(process.stdout.writeTimes, tests.length);

restoreStdout();
restoreStderr();

0 comments on commit ed35df7

Please sign in to comment.