1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
mame 2008-06-19 14:49:39 +00:00
parent da3be0f3d3
commit 8d4f4e25e5
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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