summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_whileuntil.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 11:28:27 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 11:28:27 +0000
commit8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0 (patch)
treef76634ece5171d4b04d427a6a19a1d2d92ef47d8 /test/ruby/test_whileuntil.rb
parent02b0891d4e3c26c9a64e647e3becf125c517bc7a (diff)
downloadruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.tar.gz
ruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.tar.xz
ruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.zip
* test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_whileuntil.rb')
-rw-r--r--test/ruby/test_whileuntil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_whileuntil.rb b/test/ruby/test_whileuntil.rb
index 89ae2b6d6..ecbfed2f7 100644
--- a/test/ruby/test_whileuntil.rb
+++ b/test/ruby/test_whileuntil.rb
@@ -54,7 +54,7 @@ class TestWhileuntil < Test::Unit::TestCase
redo
end
end
- assert(sum == 220)
+ assert_equal(sum, 220)
$bad = false
tmp = open("while_tmp", "r")