test String#sum for bits=0..7.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2004-10-03 06:09:54 +00:00
parent 129c02057e
commit 2bd403488d
1 changed files with 1 additions and 1 deletions

View File

@ -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