Skip to content

Commit

Permalink
[PRISM] Add a test with a non-static-literal hash key
Browse files Browse the repository at this point in the history
  • Loading branch information
paracycle authored and jemmaissroff committed Dec 13, 2023
1 parent 6aa26af commit 31c0ea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/ruby/test_compile_prism.rb
Expand Up @@ -659,6 +659,7 @@ def test_HashNode
assert_prism_eval("{ to_s: }")
assert_prism_eval("{ Prism: }")
assert_prism_eval("[ Prism: [:b, :c]]")
assert_prism_eval("{ [] => 1}")
end

def test_ImplicitNode
Expand Down

0 comments on commit 31c0ea2

Please sign in to comment.