summaryrefslogtreecommitdiff
path: root/test/regress/5D92A5EB.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-16 04:29:35 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-16 04:29:35 -0500
commit2605d8a711348dd677a99749b155ed2d6085cd59 (patch)
treee235defb8f584c74ee9dcdbffc4de2ec33e7fe9d /test/regress/5D92A5EB.test
parent7462d09b214f2497d9d41a24f4fa8a4dd1577aba (diff)
downloadfork-ledger-2605d8a711348dd677a99749b155ed2d6085cd59.tar.gz
fork-ledger-2605d8a711348dd677a99749b155ed2d6085cd59.tar.bz2
fork-ledger-2605d8a711348dd677a99749b155ed2d6085cd59.zip
Improved error reporting for bad account names
Fixes #374
Diffstat (limited to 'test/regress/5D92A5EB.test')
-rw-r--r--test/regress/5D92A5EB.test34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/regress/5D92A5EB.test b/test/regress/5D92A5EB.test
new file mode 100644
index 00000000..1d3a06bb
--- /dev/null
+++ b/test/regress/5D92A5EB.test
@@ -0,0 +1,34 @@
+~ Monthly from 2010/7/1
+ Expenses:Auto:Gas $100.00
+ Expenses:Auto:Insurance $100.00
+ Expenses:Childcare $100.00
+ Expenses:Entertainment:Blizzard $100.00
+ Expenses:Entertainment:Netflix $100.00
+ Expenses:Groceries $100.00
+ Expenses:Utilities:Electric $100.00
+ Expenses:Utilities:Water $100.00
+ Expenses:Utilities:Sewage $100.00
+ Liabilities:Education:ULL $100.00
+ Liabilities:Mortgage $100.00
+ Assets:Bank:Checking
+
+test -J reg checking -> 1
+__ERROR__
+While parsing file "$sourcepath/test/regress/5D92A5EB.test", line 13:
+While parsing periodic transaction:
+> ~ Monthly from 2010/7/1
+> Expenses:Auto:Gas $100.00
+> Expenses:Auto:Insurance $100.00
+> Expenses:Childcare $100.00
+> Expenses:Entertainment:Blizzard $100.00
+> Expenses:Entertainment:Netflix $100.00
+> Expenses:Groceries $100.00
+> Expenses:Utilities:Electric $100.00
+> Expenses:Utilities:Water $100.00
+> Expenses:Utilities:Sewage $100.00
+> Liabilities:Education:ULL $100.00
+> Liabilities:Mortgage $100.00
+> Assets:Bank:Checking
+Error: Posting with null amount's account may be mispelled:
+ "Expenses:Entertainment:Blizzard $100.00"
+end test