From eb78bb5f23d13f4f90169f2de62780f00f865e92 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 20 Dec 2007 01:03:15 +0000 Subject: * insnhelper.ci (vm_expandarray): fix sp increase place. a patch from Yusuke ENDOH in [ruby-dev:32581]. * bootstraptest/test_massign.rb: add a test for above. * bootstraptest/test_syntax.rb: fix last committed test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_massign.rb | 15 +++++++++++++++ bootstraptest/test_syntax.rb | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_massign.rb b/bootstraptest/test_massign.rb index 0c73b7146..ad31729a7 100644 --- a/bootstraptest/test_massign.rb +++ b/bootstraptest/test_massign.rb @@ -159,3 +159,18 @@ assert_equal 'ok', %q{ ary = [0, 1, 2, 3, 4, 5, 6] a, b, *c, d, e, f = *ary; [a, b, c, d, e, f] } + + +# +assert_equal 'ok', %q{ + a,s=[],"aaa" + 300.times { a<