summaryrefslogtreecommitdiff
path: root/test/regress/04D86CD0.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-26 18:30:16 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-26 18:30:16 -0400
commitc55f8c1ef177187f0f5489e62411d97ddb71b096 (patch)
tree21c7a91a380f965f959a796e6e6056df55e14e36 /test/regress/04D86CD0.test
parent235c770d4a92b6087e5cd8d4c104f8b69aefd796 (diff)
downloadfork-ledger-c55f8c1ef177187f0f5489e62411d97ddb71b096.tar.gz
fork-ledger-c55f8c1ef177187f0f5489e62411d97ddb71b096.tar.bz2
fork-ledger-c55f8c1ef177187f0f5489e62411d97ddb71b096.zip
Add test case to test for invalid option embedded in journal
Diffstat (limited to 'test/regress/04D86CD0.test')
-rw-r--r--test/regress/04D86CD0.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/04D86CD0.test b/test/regress/04D86CD0.test
new file mode 100644
index 00000000..73d2f887
--- /dev/null
+++ b/test/regress/04D86CD0.test
@@ -0,0 +1,11 @@
+
+; Test for invalid option embedded in journal
+
+--foo
+
+test bal -> 1
+__ERROR__
+While parsing file "$FILE", line 4:
+Error: Illegal option --foo
+end test
+