mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
Use t.Setenv() which automatically restores the original value when the test completes, eliminating the need for manual cleanup. Go 1.18 modernization pattern. Assisted-By: cagent Signed-off-by: David Gageot <david.gageot@docker.com>