Commit 83986e26 authored by yui-knk's avatar yui-knk

Replace assert_true with assert_equal.

parent 229e7fe2
......@@ -44,7 +44,7 @@ assert('Enumerable#collect', '15.3.2.2.3') do
end
assert('Enumerable#detect', '15.3.2.2.4') do
assert_true [1,2,3].detect() { true }
assert_equal 1, [1,2,3].detect() { true }
assert_equal 'a', [1,2,3].detect("a") { false }
end
......@@ -63,7 +63,7 @@ assert('Enumerable#entries', '15.3.2.2.6') do
end
assert('Enumerable#find', '15.3.2.2.7') do
assert_true [1,2,3].find() { true }
assert_equal 1, [1,2,3].find() { true }
assert_equal 'a', [1,2,3].find("a") { false }
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment