From 8962d9c904d5630b508ca2b10f2bf66e7f32a30b Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Sun, 25 Mar 2012 14:11:59 +0100 Subject: Add more baseline tests --- test/baseline/cmd-xact.test | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 test/baseline/cmd-xact.test (limited to 'test/baseline/cmd-xact.test') diff --git a/test/baseline/cmd-xact.test b/test/baseline/cmd-xact.test new file mode 100644 index 00000000..f473c3dd --- /dev/null +++ b/test/baseline/cmd-xact.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 xact "Test 1" +2012/03/25 Test 1 + A $10.00 + B +end test + +test xact "Test 2" +2012/03/25 Test 2 + C 20.00 EUR + D +end test + +; I think this output is wrong, see bug #737 +test xact "Test 3" +2012/03/25 Test 4 + E 30.00 GBP + F +end test + +test xact "Test 4" +2012/03/25 Test 4 + E 30.00 GBP + F +end test + +test xact no:such:account -> 1 +__ERROR__ +Error: No accounts, and no past transaction matching 'no:such:account' +end test + -- cgit v1.2.3