summaryrefslogtreecommitdiff
path: root/test/io/nonblock
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-07 18:26:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-07 18:26:12 +0000
commit807a93be080e97dafb31f4d975b6eaa991070961 (patch)
treeba7f8844d21df77edd40d61a35761b4c45414eaa /test/io/nonblock
parentd5b434088ada94b3df3fe87ea42c98c3e6e9ee16 (diff)
* 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
Diffstat (limited to 'test/io/nonblock')
-rw-r--r--test/io/nonblock/test_flush.rb4
1 files changed, 2 insertions, 2 deletions
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)