diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-22 23:30:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-22 23:30:43 +0200 |
| commit | 13272b89c8e343f53f0633fd057d7a0054113524 (patch) | |
| tree | d16d2799888c43556195de1566990ce00f43cbb2 /internal/config/config_test.go | |
| parent | e68d0959297bc1140a6b04ca10d4f2d7a2dac19b (diff) | |
Bump version to v0.5.1, change default data_dir to ~/git/foostoredbv0.5.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/config/config_test.go')
| -rw-r--r-- | internal/config/config_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 4ad8312..96b6a9d 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -78,7 +78,7 @@ func TestLoad_defaults(t *testing.T) { cfg := Load() cases := []struct{ name, got, want string }{ - {"DataDir", cfg.DataDir, filepath.Join(dir, "git", "foostore-data")}, + {"DataDir", cfg.DataDir, filepath.Join(dir, "git", "foostoredb")}, {"ExportDir", cfg.ExportDir, filepath.Join(dir, ".foostore-export")}, {"KeyFile", cfg.KeyFile, filepath.Join(dir, ".foostore.key")}, {"EncAlg", cfg.EncAlg, "AES-256-CBC"}, @@ -145,7 +145,7 @@ func TestLoad_override(t *testing.T) { if cfg.EncAlg != "AES-256-CBC" { t.Errorf("EncAlg = %q; want AES-256-CBC", cfg.EncAlg) } - if cfg.DataDir != filepath.Join(dir, "git", "foostore-data") { + if cfg.DataDir != filepath.Join(dir, "git", "foostoredb") { t.Errorf("DataDir = %q; want default", cfg.DataDir) } } |
