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: #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]>
  • Loading branch information
abelmark authored and targos committed Sep 20, 2018
1 parent b69ed9c commit fb68ef2
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 fb68ef2

Please sign in to comment.