ruby-changes:2171
From: ko1@a...
Date: 9 Oct 2007 15:49:14 +0900
Subject: [ruby-changes:2171] akr - Ruby:r13662 (trunk): add a test for .
akr 2007-10-09 15:41:16 +0900 (Tue, 09 Oct 2007) New Revision: 13662 Modified files: trunk/bootstraptest/test_knownbug.rb Log: add a test for [ruby-dev:31982]. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=13662&r2=13661 Index: bootstraptest/test_knownbug.rb =================================================================== --- bootstraptest/test_knownbug.rb (revision 13661) +++ bootstraptest/test_knownbug.rb (revision 13662) @@ -21,3 +21,15 @@ STDERR.reopen(STDOUT) variable_or_mehtod_not_exist } + +assert_normal_exit %q{ + ary = (1..10).to_a + ary.permutation(2) {|x| + if x == [1,2] + ObjectSpace.each_object(String) {|s| + s.clear if s.length == 40 || s.length == 80 + } + end + } +}, '[ruby-dev:31982]' + -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml