summaryrefslogtreecommitdiff
path: root/test/cgi/test_cgi_header.rb
diff options
context:
space:
mode:
authorxibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 14:43:05 +0000
committerxibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 14:43:05 +0000
commit0f6375be69ecbeb5a98596d61ba196979e1dbe08 (patch)
tree15f0ad0e9367435081322b627f4108262c1daef6 /test/cgi/test_cgi_header.rb
parent3c419de10b113aceea7db10eb0d4521086696bc9 (diff)
* test/cgi/test_cgi_multipart.rb : revert last change.
( deprecated is assert_raises. ) * test/cgi/test_cgi_core.rb : ditto. * test/cgi/test_cgi_header.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/cgi/test_cgi_header.rb')
-rwxr-xr-xtest/cgi/test_cgi_header.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cgi/test_cgi_header.rb b/test/cgi/test_cgi_header.rb
index 7c131f867c9..58f82ba3bc5 100755
--- a/test/cgi/test_cgi_header.rb
+++ b/test/cgi/test_cgi_header.rb
@@ -76,7 +76,7 @@ class CGIHeaderTest < Test::Unit::TestCase
else
expected = NoMethodError # for Ruby1.8
end
- ex = assert_raises(expected) do
+ ex = assert_raise(expected) do
cgi.header(nil)
end
end