diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/test/unit/parallel.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb index d8f8e8f1e7..3cf0c77256 100644 --- a/test/lib/test/unit/parallel.rb +++ b/test/lib/test/unit/parallel.rb @@ -77,8 +77,8 @@ module Test return result ensure MiniTest::Unit.output = orig_stdout - $stdin = orig_stdin - $stdout = orig_stdout + $stdin = orig_stdin if orig_stdin + $stdout = orig_stdout if orig_stdout o.close if o && !o.closed? i.close if i && !i.closed? end |