v0.19.1 dep update, test helper package
Test / test (push) Canceled after 0s

This commit is contained in:
lixen committed 2026-09-29 01:16:21 -04:00
1 parent cb0da23070
commit 679eb77bcd
11 files changed
+179 -161

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package config
import (
"testing"
"logwisp/internal/testutil"
)
func isolateConfig(t *testing.T) {
t.Helper()
testutil.ClearEnvPrefix(t, "LOGWISP_")
dir := t.TempDir()
t.Setenv("HOME", dir)
t.Chdir(dir)
}