diff options
author | TSUYUSATO Kitsune <make.just.on@gmail.com> | 2023-11-28 13:21:01 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-28 17:27:10 +0000 |
commit | f6fbb9fec5b411dae1b38b306a49399baa52aaec (patch) | |
tree | 3ef8b6316f9f22019a8d66972c7deabc712d0ac7 /test/prism/errors_test.rb | |
parent | b5796d7b113a78b17e27f2ad23c209f4e2d2900b (diff) | |
download | ruby-f6fbb9fec5b411dae1b38b306a49399baa52aaec.tar.gz |
[ruby/prism] Use `0` for the default valie of `current_param_name`
https://github.com/ruby/prism/commit/896915de24
Diffstat (limited to 'test/prism/errors_test.rb')
-rw-r--r-- | test/prism/errors_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb index 9c96725463..87fe0406ef 100644 --- a/test/prism/errors_test.rb +++ b/test/prism/errors_test.rb @@ -1836,7 +1836,7 @@ module Prism proc { |foo = foo| } proc { |foo: foo| } RUBY - message = 'Invalid circular reference in a default parameter' + message = 'Parameter default value references itself' assert_errors expression(source), source, [ [message, 14..17], [message, 37..40], |