diff --git a/pkg/env/env_test.go b/pkg/env/env_test.go index 89b3074..2bdb363 100644 --- a/pkg/env/env_test.go +++ b/pkg/env/env_test.go @@ -11,7 +11,7 @@ var ( func clearEnvForNow() { for _, item := range []string{"EDITOR", "VISUAL"} { - os.Setenv(item, "") + os.Unsetenv(item) } }