summaryrefslogtreecommitdiffstats
path: root/test/io
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-18 07:18:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-18 07:18:56 +0000
commite756f17a769cc72d003001352b2c92bcf0a98f3e (patch)
treef09cede74019f7be21cee0ba0a5703cc0c147060 /test/io
parent0512a3ab5a21f6969fc1b149de7b7ddd39881bdd (diff)
downloadruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.tar.gz
ruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.tar.xz
ruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.zip
use ML ref. for assertion message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/io')
-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 e3dca072d..6301be211 100644
--- a/test/io/nonblock/test_flush.rb
+++ b/test/io/nonblock/test_flush.rb
@@ -6,7 +6,7 @@ end
Thread.abort_on_exception = true
class TestIONonblock < Test::Unit::TestCase
- def test_flush # [ruby-dev:24985]
+ def test_flush
flunk "IO#close can't interrupt IO blocking on YARV"
r,w = IO.pipe
w.nonblock = true
@@ -24,7 +24,7 @@ class TestIONonblock < Test::Unit::TestCase
result << s
end
}
- assert_raise(IOError) {w.flush}
+ assert_raise(IOError, "[ruby-dev:24985]") {w.flush}
assert_nothing_raised {t.join}
assert_equal(4097, result.size)
end