diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-24 11:29:57 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-24 11:29:57 +0200 |
| commit | a26fed000ad9f292618f9cecfd2b505dddfd004a (patch) | |
| tree | 3b6001cc5a20c3451677773159553aa134d4a6c9 /internal/bible/books_test.go | |
| parent | e50b003d84b091b60c8028468edc633f04e39731 (diff) | |
| download | lectio-a26fed000ad9f292618f9cecfd2b505dddfd004a.tar.gz lectio-a26fed000ad9f292618f9cecfd2b505dddfd004a.zip | |
books: language-scoped --ref/--list via customizable books.toml + sigla_style config; v0.7.0
Diffstat (limited to 'internal/bible/books_test.go')
| -rw-r--r-- | internal/bible/books_test.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/internal/bible/books_test.go b/internal/bible/books_test.go index e1a65ca..e89cf6e 100644 --- a/internal/bible/books_test.go +++ b/internal/bible/books_test.go @@ -50,17 +50,3 @@ func TestBooksTableIntegrity(t *testing.T) { } } } - -func TestBooksResolve(t *testing.T) { - for _, b := range Books() { - if b.English == "" || b.Polish == "" || b.Abbrev == "" { - t.Errorf("incomplete BookInfo %+v", b) - } - if c, ok := ResolveBook(b.Abbrev); !ok || c != b.English { - t.Errorf("abbrev %q resolved to (%q,%v), want %q", b.Abbrev, c, ok, b.English) - } - } - if got := len(Books()); got != 73 { - t.Errorf("Books() len = %d, want 73", got) - } -} |
