summaryrefslogtreecommitdiffstats
path: root/tests/ts/cal/month
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/cal/month')
-rwxr-xr-xtests/ts/cal/month7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ts/cal/month b/tests/ts/cal/month
index 37996acae..62fd1f928 100755
--- a/tests/ts/cal/month
+++ b/tests/ts/cal/month
@@ -33,7 +33,7 @@ CAL_TEST_TIME=1516562739 # 21st January 2018
export CAL_TEST_TIME
function call_cal {
- local testname=$(echo "$2" | sed 's/-//g')
+ local testname=$(echo "$2" | sed 's/-//g; s/ //g')
ts_init_subtest "$testname"
ts_log "$1"
@@ -63,5 +63,10 @@ call_cal "Gregorian - Sunday-based week with week numbers" -3sw $MYTIME
call_cal "Julian - Monday-based week with week numbers" -3mjw $MYTIME
call_cal "Julian - Sunday-based week with week numbers" -3sjw $MYTIME
+call_cal "Normal span" "-Sn 3" $MYTIME
+call_cal "Large span" "-Sn 21" $MYTIME
+call_cal "Very Large span" "-Sn 51" $MYTIME
+call_cal "Extreme span" "-Sn 201" $MYTIME
+
ts_finalize