diff options
Diffstat (limited to 'internal/render/render_test.go')
| -rw-r--r-- | internal/render/render_test.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/internal/render/render_test.go b/internal/render/render_test.go index 00c8a85..dd177bb 100644 --- a/internal/render/render_test.go +++ b/internal/render/render_test.go @@ -7,23 +7,6 @@ import ( "github.com/lukaszkasprzak/lectio/internal/liturgy" ) -func TestGatherBTDedup(t *testing.T) { - sec := liturgy.Section{ - Heading: "Psalm (Ps 1)", - Paragraphs: [][]string{{"stanza one"}, {"refrain"}, {"stanza two"}, {"refrain"}}, - } - _, blocks := GatherVersion("bt", sec, "new", "pl") - n := 0 - for _, b := range blocks { - if b == "refrain" { - n++ - } - } - if n != 1 { - t.Errorf("refrain appears %d times, want 1 (deduped)", n) - } -} - func TestGatherBible(t *testing.T) { // Offline sections carry the English-canonical lookup reference in Ref; the // display citation stays in the reader's sigla dialect. |
