mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add test for [ruby-dev:31522].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
40b5c7b26c
commit
d4486478d4
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ assert_equal '[[1], 2, 3]', '*v1,(*), (a, b) = [1,:x,[2, 3]]; [v1, a, b]'
|
||||||
assert_equal '[]', '*a = *nil; a'
|
assert_equal '[]', '*a = *nil; a'
|
||||||
assert_equal '[nil]', '*a = nil; a'
|
assert_equal '[nil]', '*a = nil; a'
|
||||||
|
|
||||||
|
assert_equal '2', 'a, a = 1, 2; a', "[ruby-dev:31522]"
|
||||||
|
|
||||||
=begin
|
=begin
|
||||||
# generated by this script:
|
# generated by this script:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue