Skip to content

Commit

Permalink
don't reopen stderr in tests -- we're losing backtraces
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Mar 5, 2011
1 parent 3224735 commit 19506b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/helper.rb
Expand Up @@ -18,6 +18,3 @@ def roccoize( filename, contents, options = {} )
contents
}
end

# Send STDERR into the void to suppress program output messages
STDERR.reopen(test(?e, '/dev/null') ? '/dev/null' : 'NUL:')

0 comments on commit 19506b1

Please sign in to comment.