From 807a93be080e97dafb31f4d975b6eaa991070961 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 7 Dec 2004 18:26:12 +0000 Subject: * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): write operation ignores EAGAIN. * test/ruby/test_super.rb (TestSuper#test_define_method): test for super from proc. [ruby-core:03856] * test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): make execution order more precise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/io/nonblock/test_flush.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/io/nonblock') diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb index 4f56d00829..40dbe94b3a 100644 --- a/test/io/nonblock/test_flush.rb +++ b/test/io/nonblock/test_flush.rb @@ -23,7 +23,7 @@ class TestIONonblock < Test::Unit::TestCase end } assert_raise(IOError) {w.flush} - t.join - assert_equal("b", result) + assert_nothing_raised {t.join} + assert_equal(4097, result.size) end end if IO.method_defined?(:nonblock) -- cgit v1.2.3