summaryrefslogtreecommitdiff
path: root/test/lib/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/test/unit')
-rw-r--r--test/lib/test/unit/parallel.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb
index 7dac4bdb1c..ea809f28ae 100644
--- a/test/lib/test/unit/parallel.rb
+++ b/test/lib/test/unit/parallel.rb
@@ -35,9 +35,7 @@ module Test
th = Thread.new do
begin
- while buf = (self.verbose ? i.gets : (i.readpartial(1024) || i.read(5)))
- buf.force_encoding(Encoding::ASCII_8BIT)
- buf.sub!(/\A\n?\.+(?!\z)/, '')
+ while buf = (self.verbose ? i.gets : i.readpartial(1024))
_report "p", buf
end
rescue IOError