diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-22 03:43:12 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-22 03:43:12 +0000 |
commit | d4486478d4a8c1aa624bad3316470765a490c381 (patch) | |
tree | 71ce789162990f005a695790cc3fe0007036f2fd | |
parent | 40b5c7b26c3bd800b7e38a47a301973e87e6ae77 (diff) | |
download | ruby-d4486478d4a8c1aa624bad3316470765a490c381.tar.gz |
add test for [ruby-dev:31522].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | bootstraptest/test_massign.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstraptest/test_massign.rb b/bootstraptest/test_massign.rb index 71b53452b9..f0a2576d70 100644 --- a/bootstraptest/test_massign.rb +++ b/bootstraptest/test_massign.rb @@ -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 '[nil]', '*a = nil; a' +assert_equal '2', 'a, a = 1, 2; a', "[ruby-dev:31522]" + =begin # generated by this script: |