We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f360fd commit 97c4762Copy full SHA for 97c4762
tests/runfiles/runfiles_test.go
@@ -94,9 +94,7 @@ func TestPath_FromPathRunfilesLookup(t *testing.T) {
94
os.Setenv("PATH", origPath)
95
})
96
cmd := exec.Command(filepath.Base(prog))
97
- // We add r.Env() after os.Environ() so that runfile environment
98
- // variables override anything set in the process environment.
99
- cmd.Env = append(os.Environ(), r.Env()...)
+ cmd.Env = []string{}
100
out, err := cmd.Output()
101
if err != nil {
102
t.Fatal(err)
0 commit comments