aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-01-24 12:19:40 -0500
committerKevin Newton <kddnewton@gmail.com>2024-01-24 13:11:41 -0500
commit6b9317c9d566329cc87969c722ed221283ddc8f7 (patch)
treec06dee56ed8909442d01fa15518cc7391909fc4e
parent23d46829264e21ec542c099d61922efa58cac916 (diff)
downloadruby-6b9317c9d566329cc87969c722ed221283ddc8f7.tar.gz
[PRISM] Don't skip test_ForwardingArgumentsNode
It seems to work with RUBY_ISEQ_DUMP_DEBUG=to_binary so we can try this test again on CI.
-rw-r--r--test/ruby/test_compile_prism.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb
index f2a01c9684..bcbd5449e0 100644
--- a/test/ruby/test_compile_prism.rb
+++ b/test/ruby/test_compile_prism.rb
@@ -2011,31 +2011,6 @@ end
end
def test_ForwardingArgumentsNode
- # http://ci.rvm.jp/results/trunk-iseq_binary@ruby-sp2-docker/4779277
- #
- # expected:
- # == disasm: #<ISeq:prism_test_forwarding_arguments_node1@<compiled>:2 (2,8)-(4,11)>
- # local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: 1])
- # [ 1] "..."@0
- # 0000 putself ( 3)
- # 0001 getlocal_WC_0 ?@-2
- # 0003 splatarray false
- # 0005 getblockparamproxy ?@-1, 0
- # 0008 send <calldata!mid:prism_test_forwarding_arguments_node, argc:1, ARGS_SPLAT|ARGS_BLOCKARG|FCALL>, nil
- # 0011 leave ( 2)
- # actual:
- # == disasm: #<ISeq:prism_test_forwarding_arguments_node1@<compiled>:2 (2,8)-(4,11)>
- # local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: 1])
- # [ 1] "..."@0
- # 0000 putself ( 3)
- # 0001 getlocal_WC_0 ?@-2
- # 0003 splatarray false
- # 0005 getblockparamproxy "!"@-1, 0
- # 0008 send <calldata!mid:prism_test_forwarding_arguments_node, argc:1, ARGS_SPLAT|ARGS_BLOCKARG|FCALL>, nil
- # 0011 leave ( 2)
-
- omit "fails on trunk-iseq_binary"
-
assert_prism_eval(<<-CODE)
def prism_test_forwarding_arguments_node(...); end;
def prism_test_forwarding_arguments_node1(...)