summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authortakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-03 23:00:40 +0000
committertakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-03 23:00:40 +0000
commit6e65b949248dbaced12aaecc2a7f28b86d9b532d (patch)
tree9c929d68ad04f6d7e18d44ce10e660c1984ab75b /test
parentc6f3c196f576e0ebcdfc6fb361bde7056c9731d2 (diff)
downloadruby-6e65b949248dbaced12aaecc2a7f28b86d9b532d.tar.gz
ruby-6e65b949248dbaced12aaecc2a7f28b86d9b532d.tar.xz
ruby-6e65b949248dbaced12aaecc2a7f28b86d9b532d.zip
* test/zlib/test_zlib.rb(test_readchar): compare in same type.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/zlib/test_zlib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 5746f036e..9e4cf8003 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -490,7 +490,7 @@ if defined? Zlib
Zlib::GzipWriter.open(t.path) {|gz| gz.print("foobar") }
f = Zlib::GzipReader.open(t.path)
- "foobar".each_byte {|c| assert_equal(c, f.readchar) }
+ "foobar".each_byte {|c| assert_equal(c, f.readchar.ord) }
assert_raise(EOFError) { f.readchar }
end