diff options
| author | Matt Valentine-House <matt@eightbitraptor.com> | 2023-12-11 15:27:46 +0000 |
|---|---|---|
| committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-12-13 09:33:07 -0500 |
| commit | 9267dbdd7ad1f41116a89c2ce044b776274afc44 (patch) | |
| tree | ca5ec2a2d4d3d41e102be01aabdd2c634cf5367d /test/ruby | |
| parent | f390c51b15c470590a416d0def51ea1cca1bd74b (diff) | |
[PRISM] Generate instruction for when redo_label is set
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_compile_prism.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb index 8943345e7b..34d6f74bf6 100644 --- a/test/ruby/test_compile_prism.rb +++ b/test/ruby/test_compile_prism.rb @@ -789,6 +789,7 @@ module Prism assert_prism_eval("while true; break 1, 2; end") assert_prism_eval("[].each { break }") + assert_prism_eval("[true].map { break }") end def test_EnsureNode |
