summaryrefslogtreecommitdiff
path: root/test/baseline/opt-pedantic.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-25 20:26:18 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-25 20:26:18 +0100
commit86d58584441bf673266f234fc1c77e306f2efeb0 (patch)
tree2bbd157ccd616db0cbd721b6e3da7793eacd662a /test/baseline/opt-pedantic.test
parent4d0daf77d7aef535bc206154344a1061b6064ec6 (diff)
downloadfork-ledger-86d58584441bf673266f234fc1c77e306f2efeb0.tar.gz
fork-ledger-86d58584441bf673266f234fc1c77e306f2efeb0.tar.bz2
fork-ledger-86d58584441bf673266f234fc1c77e306f2efeb0.zip
Add more baseline tests.
Diffstat (limited to 'test/baseline/opt-pedantic.test')
-rw-r--r--test/baseline/opt-pedantic.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/baseline/opt-pedantic.test b/test/baseline/opt-pedantic.test
index e69de29b..fbb27b84 100644
--- a/test/baseline/opt-pedantic.test
+++ b/test/baseline/opt-pedantic.test
@@ -0,0 +1,17 @@
+2012-03-20 Test GBP
+ Expenses:Phone 20.00 GBP
+ Assets:Cash
+
+2012-03-21 * Test GBP
+ Expenses:Phone 20.00 GBP
+ Assets:Cash
+
+test bal --pedantic -> 1
+__ERROR__
+While parsing file "$FILE", line 2:
+While parsing posting:
+ Expenses:Phone 20.00 GBP
+
+Error: Unknown account 'Expenses:Phone'
+end test
+