summaryrefslogtreecommitdiff
path: root/test/test_syslog.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-27 12:52:16 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-27 12:52:16 +0000
commit829d9fdce6208c9f2d7d18af1a734ea257375504 (patch)
tree5c6d3bea5456a81bf1bab970894391ecc1f112d0 /test/test_syslog.rb
parent27bfb11d0d5289629ecfeccad78c7bf08eaea503 (diff)
* test/test_syslog.rb: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_syslog.rb')
-rwxr-xr-x[-rw-r--r--]test/test_syslog.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/test_syslog.rb b/test/test_syslog.rb
index 4be12ff..1fb0aff 100644..100755
--- a/test/test_syslog.rb
+++ b/test/test_syslog.rb
@@ -130,13 +130,13 @@ class TestSyslog < Test::Unit::TestCase
options = Syslog::LOG_PERROR | Syslog::LOG_NDELAY
Syslog.open("syslog_test", options) { |sl|
- sl.log(Syslog::LOG_NOTICE, "test1 - hello, %s!", "world")
- sl.notice("test1 - hello, %s!", "world")
+ sl.log(Syslog::LOG_NOTICE, "test1 - hello, %s!", "world")
+ sl.notice("test1 - hello, %s!", "world")
}
Syslog.open("syslog_test", options | Syslog::LOG_PID) { |sl|
- sl.log(Syslog::LOG_CRIT, "test2 - pid")
- sl.crit("test2 - pid")
+ sl.log(Syslog::LOG_CRIT, "test2 - pid")
+ sl.crit("test2 - pid")
}
exit!
}
@@ -172,12 +172,12 @@ class TestSyslog < Test::Unit::TestCase
def test_inspect
Syslog.open { |sl|
assert_equal(format('<#%s: opened=true, ident="%s", options=%d, facility=%d, mask=%d>',
- Syslog,
- sl.ident,
- sl.options,
- sl.facility,
- sl.mask),
- sl.inspect)
+ Syslog,
+ sl.ident,
+ sl.options,
+ sl.facility,
+ sl.mask),
+ sl.inspect)
}
assert_equal(format('<#%s: opened=false>', Syslog), Syslog.inspect)