From a7357c196559f3181e359662d92cb06d7b18e3cb Mon Sep 17 00:00:00 2001 From: nahi Date: Sat, 6 Sep 2003 17:27:58 +0000 Subject: * test/ruby/test_*.rb: assert_same, assert_match, and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_whileuntil.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby/test_whileuntil.rb') diff --git a/test/ruby/test_whileuntil.rb b/test/ruby/test_whileuntil.rb index 0dba4c9eea..841a15135d 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 -- cgit v1.2.3