summaryrefslogtreecommitdiff
path: root/test/regress/D9C8EB08.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-22 19:41:06 +0000
committerMartin Michlmayr <tbm@cyrius.com>2012-03-22 19:41:06 +0000
commit10e312cb78144f4d32cde8a5588880be36c927dc (patch)
treed364744f8f2235c6ad131f0f34a7ca2063bad940 /test/regress/D9C8EB08.test
parentc69701cf81766b05d494eff372e67cb7983d6bcd (diff)
downloadfork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.gz
fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.bz2
fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.zip
Add more regression tests
Diffstat (limited to 'test/regress/D9C8EB08.test')
-rw-r--r--test/regress/D9C8EB08.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/D9C8EB08.test b/test/regress/D9C8EB08.test
new file mode 100644
index 00000000..fa02431b
--- /dev/null
+++ b/test/regress/D9C8EB08.test
@@ -0,0 +1,16 @@
+; Test for: Using ! erroneously in a data file causes a segfault
+
+! Assets:Cash
+
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+!end
+
+test bal -> 1
+__ERROR__
+While parsing file "$FILE", line 9:
+Error: 'end' or 'end apply' found, but no enclosing 'apply' directive
+end test
+