diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-02-06 12:59:47 -0500 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-02-06 18:10:50 +0000 |
| commit | f5b368df0ceb1e705cd94e39ef8459dae07e6d52 (patch) | |
| tree | 602618ff2ff30b8ca7d188fe0b4e071ac02366a0 /test | |
| parent | ccec209b2cced2ddb8463c4933ef729a44d0363c (diff) | |
[ruby/prism] Better invalid token messages
https://github.com/ruby/prism/commit/8c9bed2a4d
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/format_errors_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/format_errors_test.rb b/test/prism/format_errors_test.rb index bc0b26165d..a142e8eee1 100644 --- a/test/prism/format_errors_test.rb +++ b/test/prism/format_errors_test.rb @@ -16,7 +16,7 @@ module Prism assert_equal <<~'ERROR', Debug.format_errors('"%W"\u"', false) > 1 | "%W"\u" | ^ expected a newline or semicolon after the statement - | ^ invalid token + | ^ invalid character `\` | ^ expected a closing delimiter for the string literal ERROR end |
