This commit is contained in:
Shreyas Goenka 2025-01-29 12:57:33 +01:00
parent 39477d5650
commit 3549c22b40
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@ func getTests(t *testing.T) []string {
return testDirs
}
// In case of duplicate keys in env, the last is applicable when spawning a process.
// In case of duplicate keys in env, the last value is applicable when spawning
// a process.
func setEnv(env []string, key, value string) []string {
return append(env, key+"="+value)
}