summaryrefslogtreecommitdiff
path: root/test/regress/1753.test
diff options
context:
space:
mode:
authorMichael Budde <mbudde@gmail.com>2019-02-23 14:36:43 +0100
committerMartin Michlmayr <tbm@cyrius.com>2019-03-30 19:47:47 +0700
commit13044f9c8d5757b6885d78cb5f7f37770e3750ab (patch)
treed9f6960a86f975ea49aceecd8ddbadb24d5e54a0 /test/regress/1753.test
parent151b762e6a0e60015336b3a53e20358e058384d3 (diff)
downloadfork-ledger-13044f9c8d5757b6885d78cb5f7f37770e3750ab.tar.gz
fork-ledger-13044f9c8d5757b6885d78cb5f7f37770e3750ab.tar.bz2
fork-ledger-13044f9c8d5757b6885d78cb5f7f37770e3750ab.zip
Reject postings with comment after flag
Fixes #1753
Diffstat (limited to 'test/regress/1753.test')
-rw-r--r--test/regress/1753.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/regress/1753.test b/test/regress/1753.test
new file mode 100644
index 00000000..4df9851b
--- /dev/null
+++ b/test/regress/1753.test
@@ -0,0 +1,12 @@
+2018-01-02 * Account name starting with semicolon
+ * ;A 10.00 EUR
+ B
+
+test reg -> 1
+__ERROR__
+While parsing file "$FILE", line 2:
+While parsing posting:
+ * ;A 10.00 EUR
+
+Error: Posting has no account
+end test