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-source.test | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test/baseline/cmd-source.test (limited to 'test/baseline/cmd-source.test') diff --git a/test/baseline/cmd-source.test b/test/baseline/cmd-source.test new file mode 100644 index 00000000..e78ae6fd --- /dev/null +++ b/test/baseline/cmd-source.test @@ -0,0 +1,26 @@ +2012-02-28 * Test + E 30.00 EUR + F + G + +2012-03-24 Test + C 30.00 EUR + D + C + +2012/03/xx + E 30.00 EUR + F + +test source -> 3 +__ERROR__ +While parsing file "$FILE", line 4: +Error: Only one posting with null amount allowed per transaction +While parsing file "$FILE", line 9: +Error: Only one posting with null amount allowed per transaction +While parsing file "$FILE", line 11: +While parsing transaction: +> 2012/03/xx +Error: Invalid date: 2012/03/xx +end test + -- cgit v1.2.3