summaryrefslogtreecommitdiff
path: root/test/baseline/opt-file.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-08-04 14:11:38 -0700
committerJohn Wiegley <johnw@newartisans.com>2015-08-04 14:11:38 -0700
commit614ba7d2136ab2b84abf74d7922a4f5d19b756cb (patch)
treedafcf37ac48780f0cbaef07bc857fc7e8e048008 /test/baseline/opt-file.test
parent54de245a50fcd9a3fc90cf4bc0e6e6de7c370956 (diff)
parentfb5a1bed5cd0584eba23aeb7eeea1d5a60b37e45 (diff)
downloadfork-ledger-614ba7d2136ab2b84abf74d7922a4f5d19b756cb.tar.gz
fork-ledger-614ba7d2136ab2b84abf74d7922a4f5d19b756cb.tar.bz2
fork-ledger-614ba7d2136ab2b84abf74d7922a4f5d19b756cb.zip
Merge pull request #404 from thdox/baseline-test-revert
Baseline test: revert commit 8d1067c
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..66d0ab1b
--- /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 "$sourcepath/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
+