From 2000cf918358460f9d7da86fb253318fcdbe8e57 Mon Sep 17 00:00:00 2001 From: Jemma Issroff Date: Wed, 27 Sep 2023 11:08:54 -0400 Subject: [YARP] Implemented BlockArgumentNode (#8499) --- test/yarp/compiler_test.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test') 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 @@ -289,6 +289,14 @@ module YARP test_yarp_eval("false || 1") end + ############################################################################ + # Calls / arugments # + ############################################################################ + + def test_BlockArgumentNode + test_yarp_eval("1.then(&:to_s)") + end + ############################################################################ # Scopes/statements # ############################################################################ -- cgit v1.2.3