From b74d1840c3b6d4988403cd3f0aade831e8e84730 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Sat, 14 Oct 2017 11:29:14 +0900 Subject: wip --- test/ruby/test_io.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/ruby/test_io.rb') 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 -- cgit v1.2.3