diff options
Diffstat (limited to 'test/test_lang.ml')
| -rw-r--r-- | test/test_lang.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_lang.ml b/test/test_lang.ml index b54e85b..c9b7f1a 100644 --- a/test/test_lang.ml +++ b/test/test_lang.ml @@ -14,6 +14,8 @@ let sample = monday = Feria II\n\ [month]\n\ 1 = Ianuarius\n\ + [month_abbr]\n\ + 1 = Ian\n\ [season]\n\ lent = Quadragesima\n\ [rank]\n\ @@ -34,6 +36,7 @@ let test_lookups () = (L.celebration t "ef-lent-3-monday"); Alcotest.(check string) "weekday 0 is Sunday" "Dominica" (L.weekday t 0); Alcotest.(check string) "month 1" "Ianuarius" (L.month t 1); + Alcotest.(check string) "month_abbr 1" "Ian" (L.month_abbr t 1); Alcotest.(check string) "season" "Quadragesima" (L.season t "lent"); Alcotest.(check string) "rank" "I classis" (L.rank t "class-1"); Alcotest.(check string) "colour" "albus" (L.colour t "white"); |
