summaryrefslogtreecommitdiff
path: root/test/ruby/test_io_buffer.rb
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_io_buffer.rb6
1 files changed, 5 insertions, 1 deletions
@@ -330,6 +330,10 @@ class TestIOBuffer < Test::Unit::TestCase
end
def test_read
io = Tempfile.new
io.write("Hello World")
io.seek(0)
@@ -339,7 +343,7 @@ class TestIOBuffer < Test::Unit::TestCase
assert_equal "Hello", buffer.get_string(0, 5)
ensure
- io.close!
end
def test_write