mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
skip if ENV['USER'] is nil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
628eb56763
commit
a0320f8e26
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
|
||||
def test_expand_path_for_existent_username
|
||||
user = ENV['USER']
|
||||
assert_not_empty(user)
|
||||
skip "ENV['USER'] is not set" unless user
|
||||
assert_equal(ENV['HOME'], File.expand_path("~#{user}"))
|
||||
end unless DRIVE
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue