ruby-changes:33118
From: hsbt <ko1@a...>
Date: Thu, 27 Feb 2014 21:52:20 +0900 (JST)
Subject: [ruby-changes:33118] hsbt:r45197 (trunk): * test/test_syslog.rb: adjust indent.
hsbt 2014-02-27 21:52:16 +0900 (Thu, 27 Feb 2014) New Revision: 45197 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45197 Log: * test/test_syslog.rb: adjust indent. Modified files: trunk/test/test_syslog.rb Index: test/test_syslog.rb =================================================================== --- test/test_syslog.rb (revision 45196) +++ test/test_syslog.rb (revision 45197) @@ -130,13 +130,13 @@ class TestSyslog < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_syslog.rb#L130 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 https://github.com/ruby/ruby/blob/trunk/test/test_syslog.rb#L172 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) Property changes on: test/test_syslog.rb ___________________________________________________________________ Added: svn:executable + * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/