diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-06 00:16:17 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-06 00:16:17 +0000 |
commit | c74aaed01653e05321b56d7184eb687d3068195a (patch) | |
tree | 4aa15e103d4daa65b5c60c4b9f669cad2a89f702 /test | |
parent | 554c879f1f0138a3981b9245b397a1a969461c7b (diff) | |
download | ruby-c74aaed01653e05321b56d7184eb687d3068195a.tar.gz |
Add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/net/http/test_http.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index 697296629c..4c45e57503 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -320,6 +320,9 @@ module TestNetHTTP_version_1_1_methods assert_raise(ArgumentError) do http.get("\r") end + assert_raise(ArgumentError) do + http.get("\n") + end } end |