summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-08-15 09:23:57 -0400
committerKevin Newton <[email protected]>2024-08-15 13:34:25 -0400
commiteb08a2805c59efdd6cf9f7058a91d9fc9aeb94fe (patch)
tree3e0c45a3f1c33ef73287a3139c27d30f66c6e727 /test/ruby
parenta402b18c4e64f8c8cdc9a287ee53c727370d9a1b (diff)
[PRISM] test_invalid_jump assertion updates for prism
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11386
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_syntax.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index 3ee0ce3e20..bd15d7c9f3 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -1609,7 +1609,7 @@ eom
end
def test_invalid_jump
- assert_in_out_err(%w[-e redo], "", [], /^-e:1: /)
+ assert_in_out_err(%w[-e redo], "", [], /^-e:1: |~ Invalid redo/)
end
def test_keyword_not_parens