summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-source.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/cmd-source.test')
-rw-r--r--test/baseline/cmd-source.test26
1 files changed, 26 insertions, 0 deletions
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
+