summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/yarp/compiler_test.rb8
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 #
############################################################################