diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-21 12:49:54 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-22 15:11:02 -0400 |
| commit | eeabf6216fde5f387d6173da93d0df882ed8a34e (patch) | |
| tree | 1aab8a2fdba5f13199eeea6caebb7bea7b271670 /.dr | |
| parent | check: warn when document's languages ocn diverge (diff) | |
test: ocn alignment check
Asserts the two known divergences in live-manual's translations by name
and value: ja two objects short of en, and pl's ocn 313 a paragraph in
English and a heading in Polish.
It asserts that nothing else is reported: exactly one document warned
about, exactly two languages of it.
Also the exit codes: 0 without --strict, non-zero with it on the
diverging document, and 0 with it on a single language document.
It will fail when those two translations are mended, which is the right
moment to hear about it, and the message names the expectation that went
stale.
test-abstraction-db.sh excludes translation.ocn_aligned from its header
block comparison, with the other two keys that are the database's notes
about the artefact rather than properties of the document.
(assisted by Claude-Code)
Diffstat (limited to '.dr')
0 files changed, 0 insertions, 0 deletions
