aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-18 22:23:33 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-18 22:23:33 +0100
commit85772d746f7b1123b94ce9556273b4a9df77eeaf (patch)
tree3117e629ebfd1d83caec2e06a1ca4ac965ead98c /test
parent8c32812fe1b08d819cb62727dbe8f00d5afbba10 (diff)
downloadcalcurse-85772d746f7b1123b94ce9556273b4a9df77eeaf.tar.gz
calcurse-85772d746f7b1123b94ce9556273b4a9df77eeaf.zip
Fix tests to match the new item ordering
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test')
-rwxr-xr-xtest/ical-005.sh2
-rwxr-xr-xtest/ical-006.sh20
-rwxr-xr-xtest/recur-001.sh10
-rwxr-xr-xtest/recur-003.sh2
4 files changed, 17 insertions, 17 deletions
diff --git a/test/ical-005.sh b/test/ical-005.sh
index 59c08c8..5e9796b 100755
--- a/test/ical-005.sh
+++ b/test/ical-005.sh
@@ -13,10 +13,10 @@ elif [ "$1" = 'expected' ]; then
Import process report: 0030 lines read
0 apps / 4 events / 0 todos / 0 skipped
10/03/13:
- * Two days
* All day
* On day 1
* On day 2
+ * Two days
10/04/13:
* Two days
diff --git a/test/ical-006.sh b/test/ical-006.sh
index 3a34c24..1d9359a 100755
--- a/test/ical-006.sh
+++ b/test/ical-006.sh
@@ -13,14 +13,6 @@ elif [ "$1" = 'expected' ]; then
Import process report: 0078 lines read
12 apps / 0 events / 0 todos / 0 skipped
06/01/12:
- - 15:00 -> 20:00
- 5 hours
- - 15:00 -> 20:00
- 5 hours
- - 15:00 -> 20:00
- 5 hours
- - 15:00 -> 20:00
- 5 hours
- 15:00 -> 15:30
30 minutes
- 15:00 -> 15:30
@@ -29,12 +21,20 @@ Import process report: 0078 lines read
30 minutes
- 15:00 -> 15:30
30 minutes
+ - 15:00 -> 20:00
+ 5 hours
+ - 15:00 -> 20:00
+ 5 hours
+ - 15:00 -> 20:00
+ 5 hours
+ - 15:00 -> 20:00
+ 5 hours
+ - 15:00 -> 20:00
+ 5 hours and 10 seconds
- 15:00 -> 20:30
5 hours and 30 minutes
- 15:00 -> 20:30
5 hours and 30 minutes
- - 15:00 -> 20:00
- 5 hours and 10 seconds
- 15:00 -> 20:30
5 hours, 30 minutes and 10 seconds
EOD
diff --git a/test/recur-001.sh b/test/recur-001.sh
index 59dd9bc..e6d2d15 100755
--- a/test/recur-001.sh
+++ b/test/recur-001.sh
@@ -8,15 +8,15 @@ if [ "$1" = 'actual' ]; then
elif [ "$1" = 'expected' ]; then
cat <<EOD
01/01/00:
- * Each day since 2000-01-01
* Each Saturday since 2000-01-01
+ * Each day since 2000-01-01
* Each first day of the month since 2000-01-01
- * Every year on January, 1st since year 2000
- * Every second day since 2000-01-01
* Every 28 days since 2000-01-01
- * Same as "01/01/2000 [1] {1W}"
+ * Every second day since 2000-01-01
* Every three days in year 2000
* Every three days, but not on 2000-01-04
+ * Every year on January, 1st since year 2000
+ * Same as "01/01/2000 [1] {1W}"
01/02/00:
* Each day since 2000-01-01
@@ -43,8 +43,8 @@ elif [ "$1" = 'expected' ]; then
* Every three days, but not on 2000-01-04
01/08/00:
- * Each day since 2000-01-01
* Each Saturday since 2000-01-01
+ * Each day since 2000-01-01
* Same as "01/01/2000 [1] {1W}"
EOD
else
diff --git a/test/recur-003.sh b/test/recur-003.sh
index feb00ba..a0beac8 100755
--- a/test/recur-003.sh
+++ b/test/recur-003.sh
@@ -10,9 +10,9 @@ elif [ "$1" = 'expected' ]; then
01/01/01:
* Each day since 2000-01-01
* Each first day of the month since 2000-01-01
- * Every year on January, 1st since year 2000
* Every second day since 2000-01-01
* Every three days, but not on 2000-01-04
+ * Every year on January, 1st since year 2000
EOD
else
./run-test "$0"