aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-ocn-alignment.sh
Commit message (Collapse)AuthorAgeFilesLines
* test: language alignment, (live-manual)Ralph Amissah2026-09-221-53/+90
| | | | | | | | | | | The ja and pl translations were mended in the sample set, so the two divergences this script asserted by name are gone. It failed and named every stale expectation, which is what it was for. The reference set is regenerated with two files affected: live-manual.ja.ssp and live-manual.pl.ssp. (assisted by Claude-Code)
* test: ocn alignment checkRalph Amissah2026-09-221-0/+155
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)