diff options
Diffstat (limited to 'sample/test.rb')
-rw-r--r-- | sample/test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/test.rb b/sample/test.rb index 0968fa5015..cf2e3a2493 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -1101,8 +1101,7 @@ def proc_return1 end test_ok(proc_return1() == 43) def proc_return2 - #! ->{return 42}.call+1 - lambda{return 42}.call+1 + ->{return 42}.call+1 end test_ok(proc_return2() == 43) def proc_return3 |