ruby-changes:8569
From: takano32 <ko1@a...>
Date: Tue, 4 Nov 2008 08:00:57 +0900 (JST)
Subject: [ruby-changes:8569] Ruby:r20104 (trunk): * test/zlib/test_zlib.rb(test_readchar): compare in same type.
takano32 2008-11-04 08:00:40 +0900 (Tue, 04 Nov 2008) New Revision: 20104 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20104 Log: * test/zlib/test_zlib.rb(test_readchar): compare in same type. Modified files: trunk/ChangeLog trunk/test/zlib/test_zlib.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 20103) +++ ChangeLog (revision 20104) @@ -1,3 +1,7 @@ +Tue Nov 4 08:00:00 2008 TAKANO Mitsuhiro (takano32) <tak@n...> + + * test/zlib/test_zlib.rb(test_readchar): compare in same type. + Tue Nov 4 03:28:31 2008 Nobuyoshi Nakada <nobu@r...> * array.c (rb_ary_join): do not repeat self in a recursive array. Index: test/zlib/test_zlib.rb =================================================================== --- test/zlib/test_zlib.rb (revision 20103) +++ test/zlib/test_zlib.rb (revision 20104) @@ -490,7 +490,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/