summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-10 00:47:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-10 00:47:43 +0900
commit7f899d7752b5d2a4be3ca9b1b82719530e8fc0f9 (patch)
tree02fbf31cef1fc678e4072ad8a923a71eabf27e76
parent8152373d997659f52495d850121419ea30f18fff (diff)
parent9a5ef1a127ede403064179e60a78e87894d973a2 (diff)
downloadmruby-7f899d7752b5d2a4be3ca9b1b82719530e8fc0f9.tar.gz
mruby-7f899d7752b5d2a4be3ca9b1b82719530e8fc0f9.zip
Merge pull request #2222 from take-cheeze/remove_proc_meth
Remove use of mruby-proc-ext method in core test.
-rw-r--r--test/t/proc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/proc.rb b/test/t/proc.rb
index 1be73c99a..49d4d92f8 100644
--- a/test/t/proc.rb
+++ b/test/t/proc.rb
@@ -56,7 +56,7 @@ assert('Proc#call', '15.2.17.4.3') do
end
assert('Proc#call proc args pos block') do
- pr = proc {|a,b,&c|
+ pr = Proc.new {|a,b,&c|
[a, b, c.class, c&&c.call(:x)]
}
assert_equal [nil, nil, Proc, :proc], (pr.call(){ :proc })