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