summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-10-02 11:16:52 -0400
committergit <svn-admin@ruby-lang.org>2024-10-02 15:27:01 +0000
commit2610bf01b26b437df6a3634ffb7629b83ea57e17 (patch)
tree90f4248a477ba4cf8f00b665d61b121763a33b62 /test
parent609fdde2c99ad6b59a05808b96886bb6b71f3b8d (diff)
[ruby/prism] Fix up doubled range in arguments
https://github.com/ruby/prism/commit/aee2de91a3
Diffstat (limited to 'test')
-rw-r--r--test/prism/errors/range_doubled.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/prism/errors/range_doubled.txt b/test/prism/errors/range_doubled.txt
new file mode 100644
index 0000000000..ef63d1bede
--- /dev/null
+++ b/test/prism/errors/range_doubled.txt
@@ -0,0 +1,3 @@
+p(...1...)
+ ^~~ unexpected range operator; .. and ... are non-associative and cannot be chained
+