diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-19 14:49:39 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-19 14:49:39 +0000 |
| commit | ae9232275111ab46f74143828f8d5b1232027ff3 (patch) | |
| tree | a704c9a0b5dac333d326079ff3e210d508b4d1e1 /test/net | |
| parent | 60421ec0cd1a73e863f53317059f29a10b70125d (diff) | |
| download | ruby-ae9232275111ab46f74143828f8d5b1232027ff3.tar.gz ruby-ae9232275111ab46f74143828f8d5b1232027ff3.tar.xz ruby-ae9232275111ab46f74143828f8d5b1232027ff3.zip | |
* test/net/http/test_http.rb: compare encodings of two strings before
comparing themself, which suppress too big error output.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
| -rw-r--r-- | test/net/http/test_http.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index 97eed02b0..8b23edf61 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 |
