aboutsummaryrefslogtreecommitdiff
path: root/internal/config/config_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-23 21:25:27 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-23 21:25:27 +0200
commitba3c501ec516e1cc58870708a83874b10fc4584a (patch)
tree2c31115382a6ddd30cd6f1f62b3cc6a290fbf545 /internal/config/config_test.go
parent0abfaeab69cb31c0a80f56598e64fa98f42824c3 (diff)
downloadlectio-ba3c501ec516e1cc58870708a83874b10fc4584a.tar.gz
lectio-ba3c501ec516e1cc58870708a83874b10fc4584a.zip
config,web: web_versions — which version checkboxes start toggled on in lectio-web
Diffstat (limited to 'internal/config/config_test.go')
-rw-r--r--internal/config/config_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go
index d2f3203..ff513ea 100644
--- a/internal/config/config_test.go
+++ b/internal/config/config_test.go
@@ -41,6 +41,9 @@ func TestWebDefaults(t *testing.T) {
if def.WebMono {
t.Errorf("WebMono default should be false")
}
+ if len(def.WebVersions) != 0 {
+ t.Errorf("WebVersions default should be empty, got %v", def.WebVersions)
+ }
if def.WebTheme != "transfiguration" {
t.Errorf("WebTheme default wrong: got %q, want %q", def.WebTheme, "transfiguration")
}