summaryrefslogtreecommitdiff
path: root/test/ruby/test_whileuntil.rb
diff options
context:
space:
mode:
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 89ae2b6d6b..ecbfed2f7a 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")