aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cli.t14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/cli.t b/test/cli.t
index b19090a..ebc30f1 100644
--- a/test/cli.t
+++ b/test/cli.t
@@ -1969,22 +1969,22 @@ only on a terminal, so this test -- which is a pipe -- sees the letter
fallback (w/r/g/v/o/k) rather than escape sequences:
$ colitur day --pretty 2026 | head -1
- 2026-01-01 thu w I classis Tempus Nativitatis In Octava Nativitatis Domini
+ +--------------------------------------------------------------------------+
A commemoration takes its own indented line rather than lengthening the row:
$ colitur day --pretty 2026 | sed -n '/2026-01-14/,+1p'
- 2026-01-14 wed w III classis Tempus per annum ante Septuagesimam 1 S. Hilarii Ep., Conf. et Eccl. Doct.
- + S. Felicis Presbyt. et Mart.
+ | 2026-01-14 Wednesday white |
+ +--------------------------------------------------------------------------+
`readings --pretty` labels and stacks the citations, and prints the OF second
reading only on the days that have one:
$ colitur readings --rite of --pretty 2026 | head -4
- 2026-01-01 thu of-mary-mother-of-god
- First Num 6:22-27
- Second Gal 4:4-7
- Gospel Luc 2:16-21
+ +--------------------------------------------------------------------------+
+ | 2026-01-01 Thursday |
+ +--------------------------------------------------------------------------+
+ | of-mary-mother-of-god |
NO_COLOR is honoured on presence, whatever its value -- that is the
convention's own rule, and reading it as a boolean is how tools get it wrong: