summaryrefslogtreecommitdiff
path: root/test/regress/1182_2.test
diff options
context:
space:
mode:
authorMitchell Kember <mk12360@gmail.com>2016-12-20 17:15:37 -0500
committerMitchell Kember <mk12360@gmail.com>2016-12-20 17:30:25 -0500
commit1c93a7355f3eceac62274fbf8ab2f250cb371e05 (patch)
tree43acf848e675e1a1f9a0569c21c44bc54b9cff94 /test/regress/1182_2.test
parent0e1c6115b37cc2ddde2d981dfd0e329be626316c (diff)
downloadfork-ledger-1c93a7355f3eceac62274fbf8ab2f250cb371e05.tar.gz
fork-ledger-1c93a7355f3eceac62274fbf8ab2f250cb371e05.tar.bz2
fork-ledger-1c93a7355f3eceac62274fbf8ab2f250cb371e05.zip
Print error message if parsing predicate after '='
Diffstat (limited to 'test/regress/1182_2.test')
-rw-r--r--test/regress/1182_2.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regress/1182_2.test b/test/regress/1182_2.test
new file mode 100644
index 00000000..d3c88dd8
--- /dev/null
+++ b/test/regress/1182_2.test
@@ -0,0 +1,17 @@
+2000/01/01 Test
+ A $1.00
+ B
+
+============
+
+2000/01/02 Test
+ A $1.00
+ B
+
+test bal -> 1
+__ERROR__
+While parsing file "$FILE", line 5:
+While parsing automated transaction:
+> ============
+Error: Expected predicate after '='
+end test