You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"existing value with other value unchanged", env{"PATH": "other", "PYTHONPATH": "other"}, "PATH", "value", env{"PATH": "value"+string(filepath.ListSeparator) +"other", "PYTHONPATH": "other"}},
94
+
{"existing value with other value unchanged", env{"PATH": "other", "PYTHONPATH": "other"}, "PATH", "value", env{"PATH": "other"+string(filepath.ListSeparator) +"value", "PYTHONPATH": "other"}},
95
95
}
96
96
97
97
for_, test:=rangetests {
98
98
t.Run(test.description, func(t*testing.T) {
99
99
result:=test.env// not a copy but that's ok for this test
100
-
result.PrependFilepath(test.key, test.value)
100
+
result.AppendFilepath(test.key, test.value)
101
101
iflen(result) !=len(test.expected) {
102
102
t.Errorf("expected %v but got %v", test.expected, result)
0 commit comments