Commit 6a2eced7 authored by Jun Hiroe's avatar Jun Hiroe

Fix assert_equal argument order in test/t/proc.rb

parent 229e7fe2
...@@ -26,8 +26,8 @@ assert('Proc#[]', '15.2.17.4.1') do ...@@ -26,8 +26,8 @@ assert('Proc#[]', '15.2.17.4.1') do
b2 = Proc.new { |i| a2 += i } b2 = Proc.new { |i| a2 += i }
b2.[](5) b2.[](5)
assert_equal a, 1 assert_equal 1, a
assert_equal a2, 5 assert_equal 5, a2
end end
assert('Proc#arity', '15.2.17.4.2') do assert('Proc#arity', '15.2.17.4.2') do
......
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