diff options
| author | mihna123 <mihailonvojinovic@gmail.com> | 2026-09-10 18:31:43 +0200 |
|---|---|---|
| committer | mihna123 <mihailonvojinovic@gmail.com> | 2026-09-10 18:31:43 +0200 |
| commit | 235fc3a15a2dd071d4738c06ab600a92daa46306 (patch) | |
| tree | e8a74b566522b1171b7ffea7757373f2058b84a0 /internal/config | |
| parent | da66d1ad1d785011c96a1bda876a3b94c1b199c7 (diff) | |
| download | openstore-235fc3a15a2dd071d4738c06ab600a92daa46306.tar.gz openstore-235fc3a15a2dd071d4738c06ab600a92daa46306.zip | |
config: config_test.go: remove unused writeConf function
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/config_test.go | 9 |
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) |
