Merge pull request #14890 from timothysc/user_error

Fix for unit test failures on user
pull/6/head
Wojciech Tyczynski 2015-10-01 09:36:44 +02:00
commit b7dbbdbc09
1 changed files with 5 additions and 1 deletions

View File

@ -305,7 +305,11 @@ func TestValidateCachesSchema(t *testing.T) {
}
func TestSubstitueUser(t *testing.T) {
usr, _ := user.Current()
usr, err := user.Current()
if err != nil {
t.Logf("SKIPPING TEST: unexpected error: %v", err)
return
}
tests := []struct {
input string
expected string