summaryrefslogtreecommitdiffhomepage
path: root/test/t/proc.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-25 23:19:35 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-25 23:19:35 +0900
commit6cf5618b44962a35886629be4782c872e56ae428 (patch)
tree49e4da9886692f364bf594c66cee1a7060d08cd9 /test/t/proc.rb
parent6d6957078eb56d95af3c729bb172765bf610ef54 (diff)
parent84116c26c9eb910a7ccdf9f49172a6c9df9dab2a (diff)
downloadmruby-6cf5618b44962a35886629be4782c872e56ae428.tar.gz
mruby-6cf5618b44962a35886629be4782c872e56ae428.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'test/t/proc.rb')
-rw-r--r--test/t/proc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/proc.rb b/test/t/proc.rb
index e871e637e..9c1b7d4c7 100644
--- a/test/t/proc.rb
+++ b/test/t/proc.rb
@@ -26,8 +26,8 @@ assert('Proc#[]', '15.2.17.4.1') do
b2 = Proc.new { |i| a2 += i }
b2.[](5)
- assert_equal a, 1
- assert_equal a2, 5
+ assert_equal 1, a
+ assert_equal 5, a2
end
assert('Proc#arity', '15.2.17.4.2') do