aboutsummaryrefslogtreecommitdiff
path: root/test/cli.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/cli.t')
-rw-r--r--test/cli.t23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/cli.t b/test/cli.t
index d981d88..1d4df3a 100644
--- a/test/cli.t
+++ b/test/cli.t
@@ -392,3 +392,26 @@ What the INI form cannot express is refused by name, not dropped silently:
$ colitur convert r.ini
colitur: r.ini: section [y]: replace is not expressible in the INI form -- it needs a whole entry, which is what the S-expression form is for (see colitur-overlay(5)). Suppress plus a fresh section is usually what you want instead.
[2]
+
+The two shipped real-calendar examples must load and convert. They are
+transcriptions, so nothing here asserts they are liturgically right -- only
+that what we ship parses, converts and applies, which is the part we control:
+
+ $ colitur convert ../data/ef/examples/poland.ini > pl.sexp
+ $ colitur check pl.sexp | head -2
+ pl.sexp: ok -- overlay poland-1964, 17 directive(s): 17 add, 0 suppress, 0 replace, 0 edit
+ every directive found its target
+
+ $ colitur convert ../data/ef/examples/benedictine.ini > ben.sexp
+ $ colitur check ben.sexp
+ ben.sexp: ok -- overlay benedictine-nursia, 2 directive(s): 2 add, 0 suppress, 0 replace, 0 edit
+ every directive found its target
+ add transitus-of-our-holy-father-benedict
+ add maurus-abbot
+
+An overlay feast competes under the ordinary rules: the Benedictine Transitus
+is I class and takes 21 March, with the Lenten feria commemorated rather than
+displaced silently.
+
+ $ colitur day 2026 --overlay ben.sexp | grep '^2026-03-21'
+ 2026-03-21 saturday lent 4 transitus-of-our-holy-father-benedict class-1 white +ef-lent-4-saturday