diff options
author | Kevin Newton <[email protected]> | 2024-08-21 10:34:12 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-08-21 10:34:12 -0400 |
commit | 2bc141f2b6c17485971199974c7bd012b0c61c82 (patch) | |
tree | 4e6083cd0eceede8d92aefca27b85d3e511bc561 /test/ruby/test_exception.rb | |
parent | d5dbaa5da3daf0766520d87ba6cbc7ef5a776289 (diff) |
[PRISM] Fix up test exception assertion for Prism
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r-- | test/ruby/test_exception.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index 4b7d709906..09df1b5dcb 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -1498,7 +1498,7 @@ $stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status| assert_not_empty(stderr.grep(pattern)) error, = stderr.grep(/unexpected end-of-input/) assert_not_nil(error) - assert_match(/<.*unexpected end-of-input.*>/, error) + assert_match(/<.*unexpected end-of-input.*>|\^ unexpected end-of-input,/, error) end end end |