From 8d4f4e25e5d4bdaf70e84e1615e6db227c1a96b4 Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 19 Jun 2008 14:49:39 +0000 Subject: * test/net/http/test_http.rb: compare encodings of two strings before comparing themself, which suppress too big error output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/http/test_http.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/net') diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index 97eed02b07..8b23edf61c 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -194,6 +194,7 @@ module TestNetHTTP_version_1_2_methods 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 -- cgit v1.2.3