From 10e312cb78144f4d32cde8a5588880be36c927dc Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Thu, 22 Mar 2012 19:41:06 +0000 Subject: Add more regression tests --- test/regress/D9C8EB08.test | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/regress/D9C8EB08.test (limited to 'test/regress/D9C8EB08.test') 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 + -- cgit v1.2.3