diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 14:11:59 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 14:11:59 +0100 |
commit | 8962d9c904d5630b508ca2b10f2bf66e7f32a30b (patch) | |
tree | 98d35d154607222d9df3ffcc12ac633fec60dbd0 /test/baseline/cmd-entry.test | |
parent | a47625be3571262f0c36324d6793c55645172dc1 (diff) | |
download | fork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.tar.gz fork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.tar.bz2 fork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.zip |
Add more baseline tests
Diffstat (limited to 'test/baseline/cmd-entry.test')
-rw-r--r-- | test/baseline/cmd-entry.test | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test/baseline/cmd-entry.test b/test/baseline/cmd-entry.test new file mode 100644 index 00000000..0ecfa5eb --- /dev/null +++ b/test/baseline/cmd-entry.test @@ -0,0 +1,43 @@ +2012-03-23 * Test 1 + A $10.00 + B + +2012-03-24 * Test 2 + ; Payee: Test 3 + C 20.00 EUR + D + +2012-03-25 * Test 4 + E 30.00 GBP + F + +test entry "Test 1" +2012/03/25 Test 1 + A $10.00 + B +end test + +test entry "Test 2" +2012/03/25 Test 2 + C 20.00 EUR + D +end test + +; I think this output is wrong, see bug #737 +test entry "Test 3" +2012/03/25 Test 4 + E 30.00 GBP + F +end test + +test entry "Test 4" +2012/03/25 Test 4 + E 30.00 GBP + F +end test + +test entry no:such:account -> 1 +__ERROR__ +Error: No accounts, and no past transaction matching 'no:such:account' +end test + |