update CREDITS and enable builds for go1.19 (#2227)
This commit is contained in:
@@ -116,7 +116,7 @@ func Test_getSubPath(t *testing.T) {
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
os.Setenv(SubPath, tt.args.envValue)
|
||||
t.Setenv(SubPath, tt.args.envValue)
|
||||
defer os.Unsetenv(SubPath)
|
||||
subPathOnce = sync.Once{}
|
||||
assert.Equalf(t, tt.want, getSubPath(), "getSubPath()")
|
||||
|
||||
Reference in New Issue
Block a user