diff options
Diffstat (limited to 'internal/config/config_test.go')
| -rw-r--r-- | internal/config/config_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 14823b8..1035426 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -16,7 +16,10 @@ func TestLoadSeeds(t *testing.T) { if cfg.DefaultVersion != "vul" || cfg.Offline { t.Errorf("defaults wrong: %+v", cfg) } - wantVersions := []string{"wuj", "vul", "grb", "drb"} + // Versions defaults to the corpora actually available in this build, Vulgate + // first then the rest sorted. Tests build with -tags fullbible, so all four + // are present (see Makefile); a default vul-only binary would list just vul. + wantVersions := []string{"vul", "drb", "grb", "wuj"} if len(cfg.Versions) != len(wantVersions) { t.Errorf("versions default = %v, want %v", cfg.Versions, wantVersions) } else { |
