summaryrefslogtreecommitdiff
path: root/test/baseline/opt-pedantic.test
diff options
context:
space:
mode:
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
+