diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-05-19 21:48:21 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-05-19 21:48:21 -0400 |
commit | 07e33a186e5519993a05777231b1a250f717f040 (patch) | |
tree | 375f0beca7be503126105a4e9eecc818c84b4311 /test/baseline | |
parent | b5908bf541082bea5a441c509d23967ebfc6e897 (diff) | |
download | fork-ledger-07e33a186e5519993a05777231b1a250f717f040.tar.gz fork-ledger-07e33a186e5519993a05777231b1a250f717f040.tar.bz2 fork-ledger-07e33a186e5519993a05777231b1a250f717f040.zip |
Add test case for tags command
Diffstat (limited to 'test/baseline')
-rw-r--r-- | test/baseline/cmd-tags.test | 55 |
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 + |