summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-05-10 00:07:03 +0900
committertake_cheeze <[email protected]>2014-05-10 00:07:03 +0900
commit9a5ef1a127ede403064179e60a78e87894d973a2 (patch)
treed4750773b6f802eb08266b9dcbe6d31caca31907 /test
parent64b30b65ee3f6787978dcd336e0c2490e290a3af (diff)
downloadmruby-9a5ef1a127ede403064179e60a78e87894d973a2.tar.gz
mruby-9a5ef1a127ede403064179e60a78e87894d973a2.zip
Remove use of mruby-proc-ext method.
Diffstat (limited to '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 })