summaryrefslogtreecommitdiff
path: root/test/test_syslog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_syslog.rb')
-rw-r--r--test/test_syslog.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_syslog.rb b/test/test_syslog.rb
index 3164d07..7f1f76f 100644
--- a/test/test_syslog.rb
+++ b/test/test_syslog.rb
@@ -11,7 +11,7 @@ end
class TestSyslog < Test::Unit::TestCase
def test_new
- assert_raises(NoMethodError) {
+ assert_raise(NoMethodError) {
Syslog.new
}
end
@@ -37,7 +37,7 @@ class TestSyslog < Test::Unit::TestCase
assert_equal(Syslog::LOG_USER, Syslog.facility)
# open without close
- assert_raises(RuntimeError) {
+ assert_raise(RuntimeError) {
Syslog.open
}
@@ -88,7 +88,7 @@ class TestSyslog < Test::Unit::TestCase
end
def test_close
- assert_raises(RuntimeError) {
+ assert_raise(RuntimeError) {
Syslog.close
}
end