diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 02:18:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 02:18:44 +0000 |
commit | ae042f21fb695fc80eb19273fa542e8dad85f19f (patch) | |
tree | 6b64fce04b19a8e1531f60a7d3d47c8a9fc97a20 /test/zlib | |
parent | 21f2c194bbf781d9228584f3e93f4a93b33f5632 (diff) |
use assert_raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/zlib')
-rw-r--r-- | test/zlib/test_zlib.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb index f52c7e0196..b22e04eb62 100644 --- a/test/zlib/test_zlib.rb +++ b/test/zlib/test_zlib.rb @@ -233,7 +233,7 @@ if defined? Zlib class TestZlibInflate < Test::Unit::TestCase def test_class_inflate_dictionary - assert_raises(Zlib::NeedDict) do + assert_raise(Zlib::NeedDict) do Zlib::Inflate.inflate([0x08,0x3C,0x0,0x0,0x0,0x0].pack("c*")) end end |