mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix wrong assertion method in some tests
This commit is contained in:
@@ -68,7 +68,7 @@ assert('Enumerable#find', '15.3.2.2.7') do
|
||||
end
|
||||
|
||||
assert('Enumerable#find_all', '15.3.2.2.8') do
|
||||
assert_true [1,2,3,4,5,6,7,8,9].find_all() {|i| i%2 == 0}, [2,4,6,8]
|
||||
assert_equal [2,4,6,8], [1,2,3,4,5,6,7,8,9].find_all() {|i| i%2 == 0}
|
||||
end
|
||||
|
||||
assert('Enumerable#grep', '15.3.2.2.9') do
|
||||
|
||||
Reference in New Issue
Block a user