summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-04-12 14:11:30 -0400
committergit <svn-admin@ruby-lang.org>2024-04-12 21:46:42 +0000
commit3c0756752c73ca08f366c31e197097b557da23d7 (patch)
tree8209eb22ec3083cb1f7c3d556ef0da6ccb1bf459 /test
parent10d0abb437e933caa3da48dfd87b40153d1a5bd7 (diff)
[ruby/prism] Better error message on statement inside argument list
https://github.com/ruby/prism/commit/3b1a99526a
Diffstat (limited to 'test')
-rw-r--r--test/prism/errors_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb
index d74c5d54a1..679f6ed0a2 100644
--- a/test/prism/errors_test.rb
+++ b/test/prism/errors_test.rb
@@ -411,7 +411,7 @@ module Prism
def test_arguments_binding_power_for_and
assert_error_messages "foo(*bar and baz)", [
- "expected a `)` to close the arguments",
+ "unexpected 'and'; expected a `)` to close the arguments",
"unexpected ')', expecting end-of-input",
"unexpected ')', ignoring it"
]