summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/test/unit/parallel.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb
index 3cf0c77256..7dac4bdb1c 100644
--- a/test/lib/test/unit/parallel.rb
+++ b/test/lib/test/unit/parallel.rb
@@ -36,6 +36,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)/, '')
_report "p", buf
end