about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-24 18:46:14 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-24 18:46:47 +0000
commitdcd710c622530052be50b226d245caebb6d2a970 (patch)
treeb394f28c9f023c286e60be8466cd50ecfd75e70d
parent52ec5be1ba9768499b948186589c1404ccc64724 (diff)
downloadruby_io_splice-dcd710c622530052be50b226d245caebb6d2a970.tar.gz
Apparently timing variations were allowing it to succeed under
Ruby 1.8/1.9, but Rubinius tripped and exposed the bug.
-rw-r--r--test/test_io_splice.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_io_splice.rb b/test/test_io_splice.rb
index f42d5c6..99ae7b5 100644
--- a/test/test_io_splice.rb
+++ b/test/test_io_splice.rb
@@ -251,7 +251,7 @@ class Test_IO_Splice < Test::Unit::TestCase
         tmp = []
         begin
           sleep 0.005
-          tmp << rd.readpartial(8192, buf)
+          tmp << rd.readpartial(8192)
         rescue EOFError
           break
         end while true