diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-24 17:44:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-24 17:44:39 +0000 |
commit | 00b4a3f9c4aaf5aa038a9530ec515e1718ae1c42 (patch) | |
tree | b57bc2afea00aa87978f691526dd7adc1b8a067d /test/net/http/test_httpheader.rb | |
parent | 48fdf59dcfbb6964d992b6f31d0eb6f023776145 (diff) | |
download | ruby-00b4a3f9c4aaf5aa038a9530ec515e1718ae1c42.tar.gz |
* test: assert_raises has been deprecated since a long time ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http/test_httpheader.rb')
-rw-r--r-- | test/net/http/test_httpheader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_httpheader.rb b/test/net/http/test_httpheader.rb index 3ba1b217c0..379c9bd1ad 100644 --- a/test/net/http/test_httpheader.rb +++ b/test/net/http/test_httpheader.rb @@ -215,7 +215,7 @@ class HTTPHeaderTest < Test::Unit::TestCase try_content_length 123, ' 123' try_content_length 1, '1 23' try_content_length 500, '(OK)500' - assert_raises(Net::HTTPHeaderSyntaxError, 'here is no digit, but') { + assert_raise(Net::HTTPHeaderSyntaxError, 'here is no digit, but') { @c['content-length'] = 'no digit' @c.content_length } |