summaryrefslogtreecommitdiff
path: root/test/baseline/opt-file.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-22 21:48:50 +0000
committerMartin Michlmayr <tbm@cyrius.com>2012-03-22 21:48:50 +0000
commit62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8 (patch)
tree4b7b570208128533a620571e556da192de941f2c /test/baseline/opt-file.test
parent10e312cb78144f4d32cde8a5588880be36c927dc (diff)
downloadfork-ledger-62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8.tar.gz
fork-ledger-62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8.tar.bz2
fork-ledger-62943c6005683ad0d6952bc8d3c6a4ef6f95cfe8.zip
Add more test cases
Diffstat (limited to 'test/baseline/opt-file.test')
-rw-r--r--test/baseline/opt-file.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/baseline/opt-file.test b/test/baseline/opt-file.test
new file mode 100644
index 00000000..e01d929d
--- /dev/null
+++ b/test/baseline/opt-file.test
@@ -0,0 +1,12 @@
+test -f opt-file-does-not-exist.dat bal -> 1
+__ERROR__
+Error: Cannot read journal file "opt-file-does-not-exist.dat"
+end test
+
+test -f test/baseline/opt-file1.dat -f test/baseline/opt-file2.dat bal
+ 10 A
+ -10 C
+--------------------
+ 0
+end test
+