diff options
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) - } -} |
