summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-08-15 12:24:49 -0400
committergit <[email protected]>2024-08-15 16:40:05 +0000
commitcbf508da58d50f7448f10a1a6030b3a48dfec14d (patch)
tree2bdd689dc6bb7f13009842a293b029283052719e /test
parent8312c5be74f6ce4ae3ebdb6efdcec1134b0c3bba (diff)
[ruby/prism] Special error for too short unicode errors
https://github.com/ruby/prism/commit/9f1f7d08bd
Diffstat (limited to 'test')
-rw-r--r--test/prism/errors/regexp_unicode_too_short.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/prism/errors/regexp_unicode_too_short.txt b/test/prism/errors/regexp_unicode_too_short.txt
new file mode 100644
index 0000000000..a7638b2712
--- /dev/null
+++ b/test/prism/errors/regexp_unicode_too_short.txt
@@ -0,0 +1,3 @@
+/\u/
+ ^~ too short escape sequence: \u
+