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/test_shellwords.rb | |
parent | 48fdf59dcfbb6964d992b6f31d0eb6f023776145 (diff) |
* 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/test_shellwords.rb')
-rw-r--r-- | test/test_shellwords.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_shellwords.rb b/test/test_shellwords.rb index ddb2d870b0..e6ee3d6b4d 100644 --- a/test/test_shellwords.rb +++ b/test/test_shellwords.rb @@ -18,21 +18,21 @@ class TestShellwords < Test::Unit::TestCase def test_unmatched_double_quote bad_cmd = 'one two "three' - assert_raises ArgumentError do + assert_raise ArgumentError do shellwords(bad_cmd) end end def test_unmatched_single_quote bad_cmd = "one two 'three" - assert_raises ArgumentError do + assert_raise ArgumentError do shellwords(bad_cmd) end end def test_unmatched_quotes bad_cmd = "one '"'"''""'"" - assert_raises ArgumentError do + assert_raise ArgumentError do shellwords(bad_cmd) end end |