diff options
| author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-09-27 11:08:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-27 11:08:54 -0400 |
| commit | 2000cf918358460f9d7da86fb253318fcdbe8e57 (patch) | |
| tree | 5e899b2c21ef79adf1afcf8263078e7d262afcd1 /test | |
| parent | 5b36c11e21ce3ab227a0a3ec40d9bbb723524c4f (diff) | |
[YARP] Implemented BlockArgumentNode (#8499)
Diffstat (limited to 'test')
| -rw-r--r-- | test/yarp/compiler_test.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/yarp/compiler_test.rb b/test/yarp/compiler_test.rb index 82732197e3..9af208f625 100644 --- a/test/yarp/compiler_test.rb +++ b/test/yarp/compiler_test.rb @@ -290,6 +290,14 @@ module YARP end ############################################################################ + # Calls / arugments # + ############################################################################ + + def test_BlockArgumentNode + test_yarp_eval("1.then(&:to_s)") + end + + ############################################################################ # Scopes/statements # ############################################################################ |
