提交 485523ac 编写于 作者: M Mislav Marohnić

Blank out `XDG_CONFIG_*` variables in Go tests

Ref. 839a5f38
上级 76a97b4b
......@@ -52,6 +52,8 @@ func SetupTestRepo() *TestRepo {
}
overrideEnv("HOME", home)
overrideEnv("XDG_CONFIG_HOME", "")
overrideEnv("XDG_CONFIG_DIRS", "")
targetPath := filepath.Join(home, "test.git")
cmd := cmd.New("git").WithArgs("clone", remotePath, targetPath)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册