From a24124247fc959da11924e370af08f8e9b7dcc14 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 3 Oct 2004 06:09:54 +0000 Subject: test String#sum for bits=0..7. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_string.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index 0ce33fdf1..f8938cad8 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 -- cgit