Skip to content

Commit

Permalink
Fix a pattern matching spec to check #deconstruct_keys arguments when…
Browse files Browse the repository at this point in the history
… pattern is {}
  • Loading branch information
andrykonchin committed May 9, 2024
1 parent 9b26718 commit c4a6c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/language/ruby_pattern_matching_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ def test_deconstruct_keys
# https://github.com/jruby/jruby/issues/7854
unless defined?(JRUBY_VERSION) || RUBY_ENGINE == "truffleruby"
assert_block do
case {}
case C.new({})
in {}
C.keys == nil
end
Expand Down

0 comments on commit c4a6c1a

Please sign in to comment.