Skip to content

Commit

Permalink
Invalid encoding symbol now raises SyntaxError also in 3.3 (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored Jun 12, 2024
1 parent 905184f commit bad7492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/irb/test_irb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_evaluate_with_encoding_error_without_lineno
omit "Remove me after https://github.com/ruby/prism/issues/2129 is addressed and adopted in TruffleRuby"
end

if RUBY_VERSION >= "3.4."
if RUBY_VERSION >= "3.3."
omit "Now raises SyntaxError"
end

Expand Down

0 comments on commit bad7492

Please sign in to comment.