summaryrefslogtreecommitdiff
path: root/test/ruby/test_whileuntil.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 17:27:58 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 17:27:58 +0000
commita7357c196559f3181e359662d92cb06d7b18e3cb (patch)
tree449e30f756b8267489357d3241fbf517c01d4f6c /test/ruby/test_whileuntil.rb
parentd7c5b0518a91b9e636f441c9488d749c435e2247 (diff)
* 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
Diffstat (limited to 'test/ruby/test_whileuntil.rb')
-rw-r--r--test/ruby/test_whileuntil.rb4
1 files changed, 2 insertions, 2 deletions
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