diff options
Diffstat (limited to 'test/test_syslog.rb')
-rw-r--r-- | test/test_syslog.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_syslog.rb b/test/test_syslog.rb index 5172aa981e..401d181f0a 100644 --- a/test/test_syslog.rb +++ b/test/test_syslog.rb @@ -64,9 +64,9 @@ class TestSyslog < Test::Unit::TestCase assert_equal(nil, Syslog.facility) # block - param = nil - Syslog.open { |param| } - assert_equal(Syslog, param) + Syslog.open { |param| + assert_equal(Syslog, param) + } ensure Syslog.close if Syslog.opened? end |