summaryrefslogtreecommitdiff
path: root/test/stringio
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-29 09:23:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-29 09:23:02 +0000
commit56f9574de8786c3364bbc8e95876abe296c845d7 (patch)
tree7ef86a11966094222404d7cbcbeb31cdfee40253 /test/stringio
parent897a3fce917c55ed9751b0834c63c7e6c5085bcf (diff)
stringio.c: close separatedly
* ext/stringio/stringio.c (strio_close): close separatedly per each instances, as well as IO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/stringio')
-rw-r--r--test/stringio/test_stringio.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb
index 22cba38..417a53b 100644
--- a/test/stringio/test_stringio.rb
+++ b/test/stringio/test_stringio.rb
@@ -234,7 +234,7 @@ class TestStringIO < Test::Unit::TestCase
assert_equal(nil, f1.getc)
assert_equal(true, f2.eof?)
f1.close
- assert_equal(true, f2.closed?)
+ assert_equal(false, f2.closed?, '[ruby-core:48443]')
ensure
f1.close unless f1.closed?
f2.close unless f2.closed?