diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-06-26 15:48:13 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-06-26 20:46:27 +0000 |
| commit | ce7299d09a8dc629fa1010dc3bbb60b5057061e6 (patch) | |
| tree | 6d29af90081b5eec6cafc15f84eaf7fca9a6bc1f /test | |
| parent | 4cbc41d5e5cb6793174d5964975fdb4470323ca1 (diff) | |
[ruby/prism] Handle block exits under modifiers
https://github.com/ruby/prism/commit/6b78f5309b
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/errors_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb index 2d8ddd7a11..4e900e37f4 100644 --- a/test/prism/errors_test.rb +++ b/test/prism/errors_test.rb @@ -261,9 +261,9 @@ module Prism ["unexpected ',', expecting end-of-input", 6..7], ["unexpected ',', ignoring it", 6..7], ["expected a matching `)`", 6..6], - ["Invalid next", 0..12], ["unexpected ')', expecting end-of-input", 12..13], - ["unexpected ')', ignoring it", 12..13] + ["unexpected ')', ignoring it", 12..13], + ["Invalid next", 0..12] ] end @@ -279,9 +279,9 @@ module Prism ["unexpected ',', expecting end-of-input", 7..8], ["unexpected ',', ignoring it", 7..8], ["expected a matching `)`", 7..7], - ["Invalid break", 0..13], ["unexpected ')', expecting end-of-input", 13..14], - ["unexpected ')', ignoring it", 13..14] + ["unexpected ')', ignoring it", 13..14], + ["Invalid break", 0..13] ] end |
