1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/cgi/test_cgi_core.rb: removed obsoleted condition for Ruby 1.8.

* test/cgi/test_cgi_header.rb: ditto.
* test/cgi/test_cgi_multipart.rb: ditto.
* test/cgi/test_cgi_tag_helper.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2014-08-09 01:19:18 +00:00
parent 8a1463beba
commit 556f805493
5 changed files with 28 additions and 92 deletions

View file

@ -71,12 +71,8 @@ class CGIHeaderTest < Test::Unit::TestCase
def test_cgi_http_header_argerr
cgi = CGI.new
#expected = NoMethodError # must be ArgumentError
if RUBY_VERSION>="1.9.0"
expected = ArgumentError # for CGIAlt
else
expected = NoMethodError # for Ruby1.8
end
expected = ArgumentError
assert_raise(expected) do
cgi.http_header(nil)
end