summaryrefslogtreecommitdiff
path: root/test/ruby/test_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r--test/ruby/test_string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index 0ce33fdf19..f8938cad84 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -12,7 +12,7 @@ class TestString < Test::Unit::TestCase
assert_equal(294, "abc".sum)
check_sum("abc")
check_sum("\x80")
- 8.upto(70) {|bits|
+ 0.upto(70) {|bits|
check_sum("xyz", bits)
}
end