ruby-changes:5929
From: mame <ko1@a...>
Date: Thu, 19 Jun 2008 23:50:20 +0900 (JST)
Subject: [ruby-changes:5929] Ruby:r17437 (trunk): * test/net/http/test_http.rb: compare encodings of two strings before
mame 2008-06-19 23:49:39 +0900 (Thu, 19 Jun 2008) New Revision: 17437 Modified files: trunk/ChangeLog trunk/test/net/http/test_http.rb Log: * test/net/http/test_http.rb: compare encodings of two strings before comparing themself, which suppress too big error output. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17437&r2=17436&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/net/http/test_http.rb?r1=17437&r2=17436&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 17436) +++ ChangeLog (revision 17437) @@ -1,3 +1,8 @@ +Thu Jun 19 23:48:45 2008 Yusuke Endoh <mame@t...> + + * test/net/http/test_http.rb: compare encodings of two strings before + comparing themself, which suppress too big error output. + Thu Jun 19 23:46:35 2008 Yusuke Endoh <mame@t...> * ext/json/ext/parser/parser.rl, ext/json/ext/parser/parser.c: JSON Index: test/net/http/test_http.rb =================================================================== --- test/net/http/test_http.rb (revision 17436) +++ test/net/http/test_http.rb (revision 17437) @@ -194,6 +194,7 @@ f = StringIO.new res.read_body f assert_equal $test_net_http_data.size, f.string.size + assert_equal $test_net_http_data.encoding, f.string.encoding assert_equal $test_net_http_data, f.string } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/