summaryrefslogtreecommitdiff
path: root/bootstraptest/test_massign.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-22 03:43:12 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-22 03:43:12 +0000
commitd4486478d4a8c1aa624bad3316470765a490c381 (patch)
tree71ce789162990f005a695790cc3fe0007036f2fd /bootstraptest/test_massign.rb
parent40b5c7b26c3bd800b7e38a47a301973e87e6ae77 (diff)
add test for [ruby-dev:31522].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_massign.rb')
-rw-r--r--bootstraptest/test_massign.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstraptest/test_massign.rb b/bootstraptest/test_massign.rb
index 71b5345..f0a2576 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: