diff options
Diffstat (limited to 'test/ruby/test_whileuntil.rb')
| -rw-r--r-- | test/ruby/test_whileuntil.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_whileuntil.rb b/test/ruby/test_whileuntil.rb index 0dba4c9ee..841a15135 100644 --- a/test/ruby/test_whileuntil.rb +++ b/test/ruby/test_whileuntil.rb @@ -13,8 +13,8 @@ class TestWhileuntil < Test::Unit::TestCase tmp.close tmp = open("while_tmp", "r") - assert_kind_of(File, tmp) - + assert_instance_of(File, tmp) + while line = tmp.gets() break if /vt100/ =~ line end |
