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 | a24124247fc959da11924e370af08f8e9b7dcc14 (patch) | |
| tree | 13d6b11bd68b99411e5c2f71738567127b546f53 /test/ruby | |
| parent | 422d625712e2228c49185a2bf3976e1559d6fabe (diff) | |
| download | ruby-a24124247fc959da11924e370af08f8e9b7dcc14.tar.gz ruby-a24124247fc959da11924e370af08f8e9b7dcc14.tar.xz ruby-a24124247fc959da11924e370af08f8e9b7dcc14.zip | |
test String#sum for bits=0..7.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -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 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 |
