summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/prism/format_errors_test.rb2
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