diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-10-23 12:59:41 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-10-26 14:59:00 -0400 |
commit | 533bd1d1fa1bc0a9de1f8818b3a3275e9d50e6cc (patch) | |
tree | 026ba7475261784671ac2e724572c1887582a19f /test/prism/errors_test.rb | |
parent | 82acca915afedbef22d1a791fac43f50c71294d5 (diff) | |
download | ruby-533bd1d1fa1bc0a9de1f8818b3a3275e9d50e6cc.tar.gz |
[ruby/prism] Ensure no extra multi-target nodes are created for splats
https://github.com/ruby/prism/commit/e60240d54b
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 6cf501c4c1..e08c2f744d 100644 --- a/test/prism/errors_test.rb +++ b/test/prism/errors_test.rb @@ -1202,7 +1202,7 @@ module Prism def test_invalid_global_variable_write assert_errors expression("$',"), "$',", [ ["Immutable variable as a write target", 0..2], - ["Unexpected write target", 0..3] + ["Unexpected write target", 0..2] ] end |