diff options
| author | take_cheeze <[email protected]> | 2014-05-10 00:07:03 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-05-10 00:07:03 +0900 |
| commit | 9a5ef1a127ede403064179e60a78e87894d973a2 (patch) | |
| tree | d4750773b6f802eb08266b9dcbe6d31caca31907 | |
| parent | 64b30b65ee3f6787978dcd336e0c2490e290a3af (diff) | |
| download | mruby-9a5ef1a127ede403064179e60a78e87894d973a2.tar.gz mruby-9a5ef1a127ede403064179e60a78e87894d973a2.zip | |
Remove use of mruby-proc-ext method.
| -rw-r--r-- | test/t/proc.rb | 2 |
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 }) |
