From 0bcddd4ed0aff66452397dc0973337c535c0d2ed Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 27 Jul 2026 20:29:31 +0200 Subject: feat(cli): lectio --corpus-check validator --- internal/bible/testdata/corpora/badbook.tsv | 1 + internal/bible/testdata/corpora/badsystem.ini | 4 ++++ internal/bible/testdata/corpora/badsystem.tsv | 1 + internal/bible/testdata/corpora/gap.tsv | 3 +++ internal/bible/testdata/corpora/good.ini | 4 ++++ internal/bible/testdata/corpora/good.tsv | 4 ++++ internal/bible/testdata/corpora/nosidecar.tsv | 2 ++ 7 files changed, 19 insertions(+) create mode 100644 internal/bible/testdata/corpora/badbook.tsv create mode 100644 internal/bible/testdata/corpora/badsystem.ini create mode 100644 internal/bible/testdata/corpora/badsystem.tsv create mode 100644 internal/bible/testdata/corpora/gap.tsv create mode 100644 internal/bible/testdata/corpora/good.ini create mode 100644 internal/bible/testdata/corpora/good.tsv create mode 100644 internal/bible/testdata/corpora/nosidecar.tsv (limited to 'internal/bible/testdata/corpora') diff --git a/internal/bible/testdata/corpora/badbook.tsv b/internal/bible/testdata/corpora/badbook.tsv new file mode 100644 index 0000000..55d5571 --- /dev/null +++ b/internal/bible/testdata/corpora/badbook.tsv @@ -0,0 +1 @@ +Genessis Gen 1 1 1 In the beginning God created heaven and earth. diff --git a/internal/bible/testdata/corpora/badsystem.ini b/internal/bible/testdata/corpora/badsystem.ini new file mode 100644 index 0000000..aca54c3 --- /dev/null +++ b/internal/bible/testdata/corpora/badsystem.ini @@ -0,0 +1,4 @@ +; test fixture: invalid psalm_system +lang = en +name = Bad System Test +psalm_system = klingon diff --git a/internal/bible/testdata/corpora/badsystem.tsv b/internal/bible/testdata/corpora/badsystem.tsv new file mode 100644 index 0000000..fd051c3 --- /dev/null +++ b/internal/bible/testdata/corpora/badsystem.tsv @@ -0,0 +1 @@ +Genesis Gen 1 1 1 In the beginning God created heaven and earth. diff --git a/internal/bible/testdata/corpora/gap.tsv b/internal/bible/testdata/corpora/gap.tsv new file mode 100644 index 0000000..f0d67bf --- /dev/null +++ b/internal/bible/testdata/corpora/gap.tsv @@ -0,0 +1,3 @@ +Genesis Gen 1 1 1 In the beginning God created heaven and earth. +Genesis Gen 1 1 2 And the earth was void and empty, and darkness was upon the face of the deep. +Genesis Gen 1 1 4 And God said: Be light made. And light was made. diff --git a/internal/bible/testdata/corpora/good.ini b/internal/bible/testdata/corpora/good.ini new file mode 100644 index 0000000..6169a64 --- /dev/null +++ b/internal/bible/testdata/corpora/good.ini @@ -0,0 +1,4 @@ +; test fixture: valid sidecar +lang = en +name = Good Test Corpus +psalm_system = vulgate diff --git a/internal/bible/testdata/corpora/good.tsv b/internal/bible/testdata/corpora/good.tsv new file mode 100644 index 0000000..7cb9015 --- /dev/null +++ b/internal/bible/testdata/corpora/good.tsv @@ -0,0 +1,4 @@ +Genesis Gen 1 1 1 In the beginning God created heaven and earth. +Genesis Gen 1 1 2 And the earth was void and empty, and darkness was upon the face of the deep. +Exodus Exod 2 1 1 Now there went out a man of the house of Levi. +Exodus Exod 2 1 2 And he took a wife of his own kindred. diff --git a/internal/bible/testdata/corpora/nosidecar.tsv b/internal/bible/testdata/corpora/nosidecar.tsv new file mode 100644 index 0000000..bba582a --- /dev/null +++ b/internal/bible/testdata/corpora/nosidecar.tsv @@ -0,0 +1,2 @@ +Genesis Gen 1 1 1 In the beginning God created heaven and earth. +Genesis Gen 1 1 2 And the earth was void and empty, and darkness was upon the face of the deep. -- cgit v1.3