Fix tests to match the new item ordering
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
parent
8c32812fe1
commit
85772d746f
@ -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
|
||||
|
@ -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:30
|
||||
5 hours and 30 minutes
|
||||
- 15:00 -> 20:30
|
||||
5 hours and 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:30
|
||||
5 hours, 30 minutes and 10 seconds
|
||||
EOD
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user