ruby-changes:43509
From: shugo <ko1@a...>
Date: Wed, 6 Jul 2016 09:16:22 +0900 (JST)
Subject: [ruby-changes:43509] shugo:r55582 (trunk): Add an assertion.
shugo 2016-07-06 09:16:17 +0900 (Wed, 06 Jul 2016) New Revision: 55582 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55582 Log: Add an assertion. Modified files: trunk/test/net/http/test_http.rb Index: test/net/http/test_http.rb =================================================================== --- test/net/http/test_http.rb (revision 55581) +++ test/net/http/test_http.rb (revision 55582) @@ -320,6 +320,9 @@ module TestNetHTTP_version_1_1_methods https://github.com/ruby/ruby/blob/trunk/test/net/http/test_http.rb#L320 assert_raise(ArgumentError) do http.get("\r") end + assert_raise(ArgumentError) do + http.get("\n") + end } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/