summaryrefslogtreecommitdiff
path: root/test/webrick/test_server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/webrick/test_server.rb')
-rw-r--r--test/webrick/test_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_server.rb b/test/webrick/test_server.rb
index ea237c6166..37b1dd50ca 100644
--- a/test/webrick/test_server.rb
+++ b/test/webrick/test_server.rb
@@ -29,7 +29,7 @@ class TestWEBrickServer < Test::Unit::TestCase
log = []
logger = WEBrick::Log.new(log, WEBrick::BasicLog::WARN)
- assert_raises(SignalException) do
+ assert_raise(SignalException) do
listener = Object.new
def listener.to_io # IO.select invokes #to_io.
raise SignalException, 'SIGTERM' # simulate signal in main thread