summaryrefslogtreecommitdiff
path: root/test/regress/15A80F68.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-22 21:48:50 +0000
committerMartin Michlmayr <tbm@cyrius.com>2012-03-22 21:48:50 +0000
commit62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8 (patch)
tree4b7b570208128533a620571e556da192de941f2c /test/regress/15A80F68.test
parent10e312cb78144f4d32cde8a5588880be36c927dc (diff)
downloadfork-ledger-62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8.tar.gz
fork-ledger-62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8.tar.bz2
fork-ledger-62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8.zip
Add more test cases
Diffstat (limited to 'test/regress/15A80F68.test')
-rw-r--r--test/regress/15A80F68.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/15A80F68.test b/test/regress/15A80F68.test
new file mode 100644
index 00000000..0b29b82d
--- /dev/null
+++ b/test/regress/15A80F68.test
@@ -0,0 +1,15 @@
+; Test for: Confusing error message with ledger v3 with invalid input
+
+2008/03/03
+ A (2 FOO @ 10.00 EUR) = 20.00 EUR
+ B
+
+test bal -> 1
+__ERROR__
+While parsing file "$FILE", line 4:
+While parsing posting:
+ A (2 FOO @ 10.00 EUR) = 20.00 EUR
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Error: Invalid char '@'
+end test
+