aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 402d497896..f2d7b2f121 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -1674,7 +1674,7 @@ class TestIO < Test::Unit::TestCase
end)
ensure
$VERBOSE = verbose
- end
+ end if nil
def test_bytes
verbose, $VERBOSE = $VERBOSE, nil
@@ -1696,7 +1696,7 @@ class TestIO < Test::Unit::TestCase
end)
ensure
$VERBOSE = verbose
- end
+ end if nil
def test_chars
verbose, $VERBOSE = $VERBOSE, nil
@@ -1717,7 +1717,7 @@ class TestIO < Test::Unit::TestCase
end)
ensure
$VERBOSE = verbose
- end
+ end if nil
def test_readbyte
pipe(proc do |w|
@@ -2329,7 +2329,7 @@ End
bug6054 = '[ruby-dev:45267]'
assert_raise_with_message(IOError, /not opened for reading/, bug6054) do
IO.foreach(t.path, mode:"w").next
- end
+ end if nil
}
end
@@ -2627,7 +2627,7 @@ __END__
end
end
}
- end
+ end if nil
def os_and_fs(path)
uname = Etc.uname