Commit b7dbbdbc authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Merge pull request #14890 from timothysc/user_error

Fix for unit test failures on user
parents fb488262 7955d428
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment