Skip to content

Replace use of env test util with standard library call#50317

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
dmcgowan:client-test-cleanup
Jul 3, 2025
Merged

Replace use of env test util with standard library call#50317
AkihiroSuda merged 1 commit intomoby:masterfrom
dmcgowan:client-test-cleanup

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

@dmcgowan dmcgowan commented Jul 2, 2025

As of Go 1.17, Setenv can be used to set environment variables specific to a single test. This also removes a package which gets vendored just for this.

As of Go 1.17, `Setenv` can be used to set environment variables
specific to a single test. This also removes a package which gets
vendored just for this.

Signed-off-by: Derek McGowan <[email protected]>
@AkihiroSuda AkihiroSuda merged commit 166f02a into moby:master Jul 3, 2025
160 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in go modules transition Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

4 participants