summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-source.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-25 14:11:59 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-25 14:11:59 +0100
commit8962d9c904d5630b508ca2b10f2bf66e7f32a30b (patch)
tree98d35d154607222d9df3ffcc12ac633fec60dbd0 /test/baseline/cmd-source.test
parenta47625be3571262f0c36324d6793c55645172dc1 (diff)
downloadfork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.tar.gz
fork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.tar.bz2
fork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.zip
Add more baseline tests
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
+