diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 17:39:49 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 17:39:49 +0100 |
commit | 4d0daf77d7aef535bc206154344a1061b6064ec6 (patch) | |
tree | 558f003c46d112b01030e3ec2bd7a0e3760f6f67 /test/baseline/opt-group-title-format.test | |
parent | f4e6d30736a41008da0193e58fbe89f15fdbb3b0 (diff) | |
download | fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.tar.gz fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.tar.bz2 fork-ledger-4d0daf77d7aef535bc206154344a1061b6064ec6.zip |
Add more baseline tests
Diffstat (limited to 'test/baseline/opt-group-title-format.test')
-rw-r--r-- | test/baseline/opt-group-title-format.test | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/test/baseline/opt-group-title-format.test b/test/baseline/opt-group-title-format.test index e69de29b..a2a1a984 100644 --- a/test/baseline/opt-group-title-format.test +++ b/test/baseline/opt-group-title-format.test @@ -0,0 +1,48 @@ +2012-03-20 * Test GBP + A -10.00 GBP + B + +2012-03-20 * Test EUR + A -10.00 EUR + B + +2012-03-22 * Test GBP + A -10.00 GBP + B + +2012-03-22 * Test EUR + A -10.00 EUR + B + +test bal --group-by payee --group-title-format "-%(value)-\n" +-Test EUR- + -20.00 EUR A + 20.00 EUR B +-------------------- + 0 + +-Test GBP- + -20.00 GBP A + 20.00 GBP B +-------------------- + 0 +end test + +test bal --group-by date --group-title-format "|%(value)|\n" +|2012/03/20| + -10.00 EUR + -10.00 GBP A + 10.00 EUR + 10.00 GBP B +-------------------- + 0 + +|2012/03/22| + -10.00 EUR + -10.00 GBP A + 10.00 EUR + 10.00 GBP B +-------------------- + 0 +end test + |