Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue #96: MiniRunner should not change @@out, but override output() …

…instead
  • Loading branch information...
commit c01a4de607ba05cfe82f1b54b54cb875dbcd1862 1 parent f131c7b
@os97673 os97673 authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 lib/turn/runners/minirunner.rb
View
10 lib/turn/runners/minirunner.rb
@@ -17,9 +17,13 @@ def initialize
super()
- # route minitests traditional output to nowhere
- # (instead of overriding #puts and #print)
- @@out = ::StringIO.new
+ # a stream we will use to route minitests traditional output
+ @out = ::StringIO.new
+ end
+
+ # route minitests traditional output to nowhere
+ def output
+ @out
end
#
Please sign in to comment.
Something went wrong with that request. Please try again.