diff --git a/cli/templatepush_test.go b/cli/templatepush_test.go index 0f7eca58d1cdc..56db595e83b19 100644 --- a/cli/templatepush_test.go +++ b/cli/templatepush_test.go @@ -178,10 +178,7 @@ func TestTemplatePush(t *testing.T) { require.NoError(t, err) os.Chdir(source) - - t.Cleanup(func() { - os.Chdir(oldDir) - }) + defer os.Chdir(oldDir) // Don't pass the name of the template, it should use the // directory of the source. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy