aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-10-14 11:29:14 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-10-14 11:29:14 +0900
commitb74d1840c3b6d4988403cd3f0aade831e8e84730 (patch)
tree1cd5232fd0b589223d6c2482333cfb9e92f1d64c /test/ruby/test_io.rb
parenta75a9999ee603b3d5322f46a6c40dc9c22023bb9 (diff)
downloadruby-b74d1840c3b6d4988403cd3f0aade831e8e84730.tar.gz
wipwork
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