summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/config/config_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go
index 29a1824..c9a0fc7 100644
--- a/internal/config/config_test.go
+++ b/internal/config/config_test.go
@@ -39,15 +39,6 @@ func setConfKey(t *testing.T, key, value string) string {
return path
}
-func writeConf(t *testing.T, body string) string {
- t.Helper()
- path := filepath.Join(t.TempDir(), "openstore.conf")
- if err := os.WriteFile(path, []byte(body), 0o644); err != nil {
- t.Fatalf("write conf: %v", err)
- }
- return path
-}
-
func TestRejectLoadingMissingFile(t *testing.T) {
noSystemConfig(t)