зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e7c6f87c89
Коммит
7c5336b8f9
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче