summaryrefslogtreecommitdiff
path: root/test/regress/15A80F68.test
diff options
context:
space:
mode:
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
+