diff options
author | xibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-04 11:48:05 +0000 |
---|---|---|
committer | xibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-04 11:48:05 +0000 |
commit | 6837f3dc54ac4afd89c185e520c250ef2eb42c4e (patch) | |
tree | 06680b80e18091c209238498f0f735c33ca41a1b /test/cgi/test_cgi_core.rb | |
parent | 2142287c8696f5c8b1ca8e68c557ff61ab921f8e (diff) | |
download | ruby-6837f3dc54ac4afd89c185e520c250ef2eb42c4e.tar.gz |
Sun Nov 4 20:41:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi.rb, lib/cgi/*/rb: rename CGI#header to
CGI#http_header,
add and update HTML5 tag generater. [Bug #7110]
Patch provided by Marcus Stollsteimer, thank you !
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/cgi/test_cgi_core.rb')
-rw-r--r-- | test/cgi/test_cgi_core.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/cgi/test_cgi_core.rb b/test/cgi/test_cgi_core.rb index 171ff7b8bc..08a8d383de 100644 --- a/test/cgi/test_cgi_core.rb +++ b/test/cgi/test_cgi_core.rb @@ -357,10 +357,6 @@ class CGICoreTest < Test::Unit::TestCase cgi = CGI.new('html5') expected = '<!DOCTYPE HTML>' assert_equal(expected, cgi.doctype) - # cgi.header not broken - expected = "Content-Type: text/html\r\n\r\n" - actual = cgi.header - assert_equal(expected, actual) end |