ruby-changes:50970
From: mame <ko1@a...>
Date: Tue, 17 Apr 2018 17:26:25 +0900 (JST)
Subject: [ruby-changes:50970] mame:r63177 (trunk): Enable the assertions that had been disabled for historical reason
mame 2018-04-17 17:26:20 +0900 (Tue, 17 Apr 2018) New Revision: 63177 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63177 Log: Enable the assertions that had been disabled for historical reason Modified files: trunk/test/ruby/test_assignment.rb Index: test/ruby/test_assignment.rb =================================================================== --- test/ruby/test_assignment.rb (revision 63176) +++ test/ruby/test_assignment.rb (revision 63177) @@ -480,11 +480,10 @@ class TestAssignment < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/ruby/test_assignment.rb#L480 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/