diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-16 19:12:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-16 19:12:41 +0000 |
commit | aba40d1a3897c56056ffc7ec96957c38b6b9fce8 (patch) | |
tree | 059479b22181a42cb13011be8cf92b23f3bb0ed5 /test | |
parent | bb09f09ba6ec7c4c054816df4c3c523659d8cb5f (diff) | |
download | ruby-aba40d1a3897c56056ffc7ec96957c38b6b9fce8.tar.gz |
* test/ruby/test_signal.rb (test_trap): string commands are allowed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_signal.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb index e664961448..0bc2078c18 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -146,8 +146,8 @@ class TestSignal < Test::Unit::TestCase Signal.trap(:INT, "EXIT") - assert_raise(ArgumentError) { Signal.trap(:INT, "xxxxxx") } - assert_raise(ArgumentError) { Signal.trap(:INT, "xxxx") } + Signal.trap(:INT, "xxxxxx") + Signal.trap(:INT, "xxxx") Signal.trap(SignalException.new(:INT).signo, "SIG_DFL") |