From 5c9dc339b355546e68013be26aa54cc0e9978409 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 26 Feb 2011 14:41:19 -0800 Subject: [PATCH] test: fix broken assertions on Ruby 1.9.3dev Oops :x --- test/test_io_splice.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_io_splice.rb b/test/test_io_splice.rb index c21b28a..b4a2def 100644 --- a/test/test_io_splice.rb +++ b/test/test_io_splice.rb @@ -371,10 +371,10 @@ class Test_IO_Splice < Test::Unit::TestCase def test_pipe_size r, w = IO.pipe - assert Integer, r.pipe_size + assert_kind_of Integer, r.pipe_size assert(r.pipe_size >= 512) assert_nothing_raised { w.pipe_size = 8192 } - assert 8192, r.pipe_size + assert_equal 8192, r.pipe_size w.write('*' * 4097) assert_raises(Errno::EBUSY) { r.pipe_size = 4096 } -- 2.11.4.GIT