summaryrefslogtreecommitdiff
path: root/test/baseline/opt-price-db.test
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-02-24 19:54:33 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-02-24 19:54:33 +0100
commit7358ced548d94b49c5b07dde08dcd8099c4f5c9d (patch)
tree0a9280ae52c64edf60e11969c57ea76a2ab825ea /test/baseline/opt-price-db.test
parenta526851c8a9be04d1c2c96d68a9548bfed27d248 (diff)
parentdf944929f82b473bbd155eac826420f0b38644eb (diff)
downloadledger-7358ced548d94b49c5b07dde08dcd8099c4f5c9d.tar.gz
ledger-7358ced548d94b49c5b07dde08dcd8099c4f5c9d.tar.bz2
ledger-7358ced548d94b49c5b07dde08dcd8099c4f5c9d.zip
Merge pull request #401 from thdox/baseline-tests
Improve baseline tests
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