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 <shishugi@gmail.com>

PR-URL: #22487
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • 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.