summaryrefslogtreecommitdiff
path: root/test/baseline/opt-price-db.test
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-24 10:42:37 +0100
committerthdox <thdox@free.fr>2015-02-24 19:27:07 +0100
commitdf944929f82b473bbd155eac826420f0b38644eb (patch)
tree4351ab352e5b64f0cba031e79185efc13e22ccc4 /test/baseline/opt-price-db.test
parente6a967b860d529137df11b2a79b2153c68e48b96 (diff)
downloadfork-ledger-df944929f82b473bbd155eac826420f0b38644eb.tar.gz
fork-ledger-df944929f82b473bbd155eac826420f0b38644eb.tar.bz2
fork-ledger-df944929f82b473bbd155eac826420f0b38644eb.zip
Add baseline test for --price-db option.
Diffstat (limited to 'test/baseline/opt-price-db.test')
-rw-r--r--test/baseline/opt-price-db.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/baseline/opt-price-db.test b/test/baseline/opt-price-db.test
new file mode 100644
index 00000000..06021e4a
--- /dev/null
+++ b/test/baseline/opt-price-db.test
@@ -0,0 +1,8 @@
+2012-03-17 KFC
+ Expenses:Food 20 CAD
+ Assets:Cash
+
+test pricedb --price-db test/baseline/opt-price-db.dat
+P 2012/03/16 06:47:12 CAD $2.5
+P 2012/03/17 06:47:12 CAD $3.5
+end test