summaryrefslogtreecommitdiff
path: root/test/regress/D51BFF74.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-16 03:50:40 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-16 03:50:40 -0500
commit20c076dff92806c6c2aae7c0c87b000ffc703382 (patch)
treea61daca6d4a58ae1f6940c628970ca406c64006b /test/regress/D51BFF74.test
parentdc91d4f1e6fc06ac5c4e50e3ee650844b7a77a2e (diff)
downloadfork-ledger-20c076dff92806c6c2aae7c0c87b000ffc703382.tar.gz
fork-ledger-20c076dff92806c6c2aae7c0c87b000ffc703382.tar.bz2
fork-ledger-20c076dff92806c6c2aae7c0c87b000ffc703382.zip
Improved error reports about leading whitespace
Diffstat (limited to 'test/regress/D51BFF74.test')
-rw-r--r--test/regress/D51BFF74.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/D51BFF74.test b/test/regress/D51BFF74.test
new file mode 100644
index 00000000..dc472215
--- /dev/null
+++ b/test/regress/D51BFF74.test
@@ -0,0 +1,24 @@
+2012-03-16 KFC
+ Expenses:Food $-20
+ Assets:Cash
+
+2012-03-16 KFC
+ Expenses:Food $- 20
+ Assets:Cash
+
+2012-03-16 KFC
+ Expenses:Food -$20
+ Assets:Cash
+
+2012-03-16 KFC
+ Expenses:Food - $20
+ Assets:Cash
+
+test reg -> 1
+__ERROR__
+While parsing file "$sourcepath/test/regress/D51BFF74.test", line 6:
+While parsing posting:
+ Expenses:Food $- 20
+ ^^^^^
+Error: No quantity specified for amount
+end test