summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/net/http/test_http.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a2f800698..34ed8fb41b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 19 23:48:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
+
+ * 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@tsg.ne.jp>
* ext/json/ext/parser/parser.rl, ext/json/ext/parser/parser.c: JSON
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