1
0
Fork 0
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:
mame 2018-04-17 08:26:20 +00:00
parent 035145722d
commit 84934e4f24

View file

@ -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