diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 7161be1a6e..732368083d 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3169,7 +3169,7 @@ End def test_close_uninitialized io = IO.allocate - assert_raise(IOError) { io.close } + assert_raise(IOError) { io.close } end end