mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Enable the assertions that had been disabled for historical reason
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
035145722d
commit
84934e4f24
1 changed files with 4 additions and 5 deletions
|
@ -480,11 +480,10 @@ class TestAssignment < Test::Unit::TestCase
|
|||
assert_equal 1, a
|
||||
assert_equal [2, 3], b
|
||||
|
||||
# not supported yet
|
||||
#a, *b, c = 1, 2, 3, 4
|
||||
#assert_equal 1, a
|
||||
#assert_equal [2,3], b
|
||||
#assert_equal 4, c
|
||||
a, *b, c = 1, 2, 3, 4
|
||||
assert_equal 1, a
|
||||
assert_equal [2,3], b
|
||||
assert_equal 4, c
|
||||
|
||||
a = 1, 2
|
||||
assert_equal [1, 2], a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue