From 1a5a01e9ce9bf69944e4e37a33c8b044657a200a Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 3 Sep 2019 01:39:00 +0900 Subject: Add insn tests for newarraykwsplat --- bootstraptest/test_insns.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstraptest') diff --git a/bootstraptest/test_insns.rb b/bootstraptest/test_insns.rb index fe0b01a97e..9deb57cf23 100644 --- a/bootstraptest/test_insns.rb +++ b/bootstraptest/test_insns.rb @@ -95,6 +95,7 @@ tests = [ [ 'intern', %q{ :"#{true}" }, ], [ 'newarray', %q{ ["true"][0] }, ], + [ 'newarraykwsplat', %q{ [**{x:'true'}][0][:x] }, ], [ 'duparray', %q{ [ true ][0] }, ], [ 'expandarray', %q{ y = [ true, false, nil ]; x, = y; x }, ], [ 'expandarray', %q{ y = [ true, false, nil ]; x, *z = y; x }, ], -- cgit v1.2.3