mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e7c6f87c89
commit
7c5336b8f9
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Aug 6 11:19:19 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil.
|
||||
|
||||
Mon Aug 6 11:08:48 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/syslog/test_syslog_logger.rb: skip unless Syslog module is
|
||||
|
|
|
@ -38,7 +38,7 @@ class TestEtc < Test::Unit::TestCase
|
|||
assert_include(s, Etc.getpwuid(uid))
|
||||
end
|
||||
s = passwd[Process.euid]
|
||||
if s
|
||||
unless s.empty?
|
||||
assert_include(s, Etc.getpwuid)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue