mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 17:14:01 +02:00
parent
157733b1b7
commit
e914fa0d10
4 changed files with 27 additions and 11 deletions
|
@ -15,7 +15,7 @@ module Prism
|
|||
|
||||
assert_equal <<~'ERROR', Debug.format_errors('"%W"\u"', false)
|
||||
> 1 | "%W"\u"
|
||||
| ^ invalid character `\`
|
||||
| ^ unexpected backslash, ignoring it
|
||||
| ^ unexpected local variable or method, expecting end-of-input
|
||||
| ^ unterminated string meets end of file
|
||||
ERROR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue