summaryrefslogtreecommitdiff
path: root/test/io/nonblock
diff options
context:
space:
mode:
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)