summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-24 10:46:18 +0100
committerthdox <thdox@free.fr>2015-02-24 19:25:18 +0100
commitddf17b62460f17e0cca3b01a40e838544d683f91 (patch)
treee30924f6e28c51b90f63dbfb66379ee4a352648b /test/baseline
parent0b7996ed7cdb5a5d64a58da3ed7f615ba591416f (diff)
downloadfork-ledger-ddf17b62460f17e0cca3b01a40e838544d683f91.tar.gz
fork-ledger-ddf17b62460f17e0cca3b01a40e838544d683f91.tar.bz2
fork-ledger-ddf17b62460f17e0cca3b01a40e838544d683f91.zip
Add baseline test for --init-file option.
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/opt-init-file.dat1
-rw-r--r--test/baseline/opt-init-file.test10
2 files changed, 11 insertions, 0 deletions
diff --git a/test/baseline/opt-init-file.dat b/test/baseline/opt-init-file.dat
new file mode 100644
index 00000000..92c5307a
--- /dev/null
+++ b/test/baseline/opt-init-file.dat
@@ -0,0 +1 @@
+--decimal-comma
diff --git a/test/baseline/opt-init-file.test b/test/baseline/opt-init-file.test
new file mode 100644
index 00000000..128814e1
--- /dev/null
+++ b/test/baseline/opt-init-file.test
@@ -0,0 +1,10 @@
+2012-03-17 Quick
+ Expenses:Food 12,50 €
+ Assets:Cash
+
+test --init-file test/baseline/opt-init-file.dat bal
+ -12,50 € Assets:Cash
+ 12,50 € Expenses:Food
+--------------------
+ 0
+end test