aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-08-06 15:48:02 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-08-06 15:48:02 +0200
commitf9208c0b3dcb6cb53dbad734871aeead576ad06b (patch)
treee98f651101cf707268af083357b31b6e02925efb /test/data
parentc2dc3109ae23fbdb4ee3951317bd1fbf1ec846e2 (diff)
downloadcalcurse-f9208c0b3dcb6cb53dbad734871aeead576ad06b.tar.gz
calcurse-f9208c0b3dcb6cb53dbad734871aeead576ad06b.zip
Use backwards-compatible out format for queries
Print TODO items before appointments in query outputs and add an empty line between the list of TODO items and the list of appointments. This is how items were printed before the big parser refactoring. Also, add a test to ensure we do not unintentionally change that format in the future. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/data')
-rw-r--r--test/data/apts-filter-0018
1 files changed, 8 insertions, 0 deletions
diff --git a/test/data/apts-filter-001 b/test/data/apts-filter-001
new file mode 100644
index 0000000..59fe31c
--- /dev/null
+++ b/test/data/apts-filter-001
@@ -0,0 +1,8 @@
+02/22/2013 [1] Event 1
+02/23/2013 [1] Event 2
+02/24/2013 [1] Event 3
+02/25/2013 [1] Event 4
+02/22/2013 @ 10:00 -> 02/22/2013 @ 12:00 |Appointment 1
+02/23/2013 @ 10:00 -> 02/23/2013 @ 12:00 |Appointment 2
+02/24/2013 @ 10:00 -> 02/24/2013 @ 12:00 |Appointment 3
+02/25/2013 @ 10:00 -> 02/25/2013 @ 12:00 |Appointment 4