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 | ffa153f34bbe8e990aca37bfb248e9ea7cf90e2e (patch) | |
tree | 4aa15e103d4daa65b5c60c4b9f669cad2a89f702 | |
parent | 0619e732023fb3a409949b142b0f83cf73af01ef (diff) | |
download | ruby-ffa153f34bbe8e990aca37bfb248e9ea7cf90e2e.tar.gz |
Add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 |