mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
gotest.tools v3.0.1 and up support Go's native test.Cleanup(), which means that manually calling the cleanup functions in a defer is no longer needed. Some of these could probably be replaced by Go's native `t.TempDir()`, but keeping that for a follow-up exercise. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>