test/test_pipe_popen.rb in kgio-1.3.1 vs test/test_pipe_popen.rb in kgio-2.0.0pre1

- old
+ new

@@ -4,10 +4,10 @@ require 'kgio' class TestPipePopen < Test::Unit::TestCase def test_popen io = Kgio::Pipe.popen("sleep 1 && echo HI") - assert_equal Kgio::WaitReadable, io.kgio_tryread(2) + assert_equal :wait_readable, io.kgio_tryread(2) sleep 1.5 assert_equal "HI\n", io.kgio_read(3) assert_nil io.kgio_read(5) end end