summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_http.rb1
1 files changed, 1 insertions, 0 deletions
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