blob: 123f2dd1c851e64c92c664fabe86ceeb3e1c6363 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package bible
import "testing"
func TestEmbeddedCorpusMeta(t *testing.T) {
// vul is the only corpus embedded in the default (no-tag) build, so it is
// the sidecar we can assert on unconditionally.
m, ok := embeddedCorpusMeta("vul")
if !ok {
t.Fatal("vul sidecar not found")
}
if m.Lang != "la" || m.PsalmSystem != "vulgate" || m.Name == "" {
t.Fatalf("bad vul meta: %+v", m)
}
}
|