summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/cmd-tags.test55
1 files changed, 55 insertions, 0 deletions
diff --git a/test/baseline/cmd-tags.test b/test/baseline/cmd-tags.test
new file mode 100644
index 00000000..bfff763a
--- /dev/null
+++ b/test/baseline/cmd-tags.test
@@ -0,0 +1,55 @@
+
+2014-01-01 * Test 1
+ A $10 ; :bar:
+ B ; :foo:
+
+2014-01-02 * Test 2
+ A $10 ; :a:
+ B
+
+2014-01-03 * Test 3
+ A $10
+ B ; :b:
+
+2014-01-03 * Test 4
+ ; :xxx:
+ A $10
+ B
+
+2014-01-03 * Test 5
+ A $10 ; a: aaa
+ B
+
+2014-02-04 * Test 6
+ A $10 ; a: aaa
+ B
+
+2014-01-01 * Test 7
+ A $10
+ B ; b: bbb
+
+test tags
+a
+b
+bar
+foo
+end test
+
+test tags --values
+a
+a: aaa
+b
+b: bbb
+bar
+foo
+end test
+
+test tags --values --count
+1 a
+2 a: aaa
+1 b
+1 b: bbb
+1 bar
+1 foo
+end test
+