From 1aa51066f5a316a0fa3d20cc01c89f7c4bdee029 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Wed, 15 Feb 2023 18:54:10 +0000 Subject: [PATCH] cal: add test for vertical colors MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh --- tests/expected/cal/color-vertical | 8 ++++++++ tests/ts/cal/color | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/expected/cal/color-vertical diff --git a/tests/expected/cal/color-vertical b/tests/expected/cal/color-vertical new file mode 100644 index 0000000000..dc6ce6caa0 --- /dev/null +++ b/tests/expected/cal/color-vertical @@ -0,0 +1,8 @@ + February 2023 +Su 5 12 19 26 +Mo 6 13 20 27 +Tu 7 14 21 28 +We 1 8 15 22 +Th 2 9 16 23 +Fr 3 10 17 24 +Sa 4 11 18 25 diff --git a/tests/ts/cal/color b/tests/ts/cal/color index e6fe375bcd..0ba175fa2a 100755 --- a/tests/ts/cal/color +++ b/tests/ts/cal/color @@ -76,5 +76,12 @@ fi $TS_CMD_CAL --color=always -3 31 12 9999 >> $TS_OUTPUT ts_finalize_subtest +ts_init_subtest "vertical" +if [ "$USETERM" == "yes" ]; then + $TS_CMD_CAL --color=always 15 2 2023 +fi +$TS_CMD_CAL --color=always --vertical 15 2 2023 >> $TS_OUTPUT +ts_finalize_subtest + ts_finalize -- 2.47.3