aboutsummaryrefslogtreecommitdiff
path: root/test/test_colitur.ml
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 15:03:02 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 15:03:02 +0200
commitf8c746736fe269ef6e0c4377f58bbb6b1f2fc07a (patch)
tree9ad5953c567831652696520536afdc02ad378fdf /test/test_colitur.ml
parent56e36188c6afc208b96b15b9a1d3d62bbbe2f705 (diff)
downloadcolitur-f8c746736fe269ef6e0c4377f58bbb6b1f2fc07a.tar.gz
colitur-f8c746736fe269ef6e0c4377f58bbb6b1f2fc07a.zip
test(citation): assert every emitted citation parses
Walks 1970-2070 and parses every citation the engine emits. Nothing validated citation spellings before this, which is why seven books carried two spellings unnoticed. Mutation-proved: removing the 'Isa.' spelling from the book table reddens this test naming that citation.
Diffstat (limited to 'test/test_colitur.ml')
-rw-r--r--test/test_colitur.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_colitur.ml b/test/test_colitur.ml
index 6fe212d..fb2c20c 100644
--- a/test/test_colitur.ml
+++ b/test/test_colitur.ml
@@ -4,6 +4,7 @@ let () =
[ Test_date.suite; Test_computus.suite; Test_colour.suite; Test_slug.suite; Test_names.suite;
Test_lang.suite;
Test_lang_coverage.suite;
+ Test_citation_coverage.suite;
Test_citation.suite;
("parse", Test_citation.parse_suite);
Test_config.suite;