summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_yjit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb
index 3ccc1be1dd..35036aad4e 100644
--- a/test/ruby/test_yjit.rb
+++ b/test/ruby/test_yjit.rb
@@ -1574,11 +1574,11 @@ class TestYJIT < Test::Unit::TestCase
end
def test_kw_splat_nil
- assert_compiles(<<~'RUBY', result: %i[ok ok], no_send_fallbacks: true)
+ assert_compiles(<<~'RUBY', result: %i[ok ok ok], no_send_fallbacks: true)
def id(x) = x
def kw_fw(arg, **) = id(arg, **)
def fw(...) = id(...)
- def use = [fw(:ok), kw_fw(:ok)]
+ def use = [fw(:ok), kw_fw(:ok), :ok.itself(**nil)]
use
RUBY