ruby-changes:24585
From: usa <ko1@a...>
Date: Mon, 6 Aug 2012 11:20:59 +0900 (JST)
Subject: [ruby-changes:24585] usa:r36636 (trunk): * test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil.
usa 2012-08-06 11:20:47 +0900 (Mon, 06 Aug 2012) New Revision: 36636 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36636 Log: * test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil. Modified files: trunk/ChangeLog trunk/test/etc/test_etc.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 36635) +++ ChangeLog (revision 36636) @@ -1,3 +1,7 @@ +Mon Aug 6 11:19:19 2012 NAKAMURA Usaku <usa@r...> + + * test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil. + Mon Aug 6 11:08:48 2012 NAKAMURA Usaku <usa@r...> * test/syslog/test_syslog_logger.rb: skip unless Syslog module is Index: test/etc/test_etc.rb =================================================================== --- test/etc/test_etc.rb (revision 36635) +++ test/etc/test_etc.rb (revision 36636) @@ -38,7 +38,7 @@ assert_include(s, Etc.getpwuid(uid)) end s = passwd[Process.euid] - if s + unless s.empty? assert_include(s, Etc.getpwuid) end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/