From 8bb405d2adb3bb5351cfaaf1bc10bb3ec5acffb6 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 17 Feb 2008 00:18:16 +0000 Subject: * string.c (rb_str_times): reduce loop overhead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_string.rb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index b684ca8bd..711d9ea1f 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -174,7 +174,7 @@ class TestString < Test::Unit::TestCase s = "a" 10.times {|i| s << s - assert_equal("a" * (2<