diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-03 06:09:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-03 06:09:54 +0000 |
commit | 2bd403488dc63afcd76f1bd724260a6c41a778ed (patch) | |
tree | 13d6b11bd68b99411e5c2f71738567127b546f53 | |
parent | 129c02057e50ab1c4b016ac352af65f853668986 (diff) | |
download | ruby-2bd403488dc63afcd76f1bd724260a6c41a778ed.tar.gz |
test String#sum for bits=0..7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_string.rb | 2 |
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 |