summaryrefslogtreecommitdiff
path: root/test/baseline/opt-script.test
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-24 18:47:40 +0100
committerthdox <thdox@free.fr>2015-02-24 19:27:07 +0100
commite6a967b860d529137df11b2a79b2153c68e48b96 (patch)
tree733be4c5acb80cf9b9ea4878ac0037a2cdc6653a /test/baseline/opt-script.test
parent72cb48727d979c8a20298ccdb9c711b0ce7a8a03 (diff)
downloadfork-ledger-e6a967b860d529137df11b2a79b2153c68e48b96.tar.gz
fork-ledger-e6a967b860d529137df11b2a79b2153c68e48b96.tar.bz2
fork-ledger-e6a967b860d529137df11b2a79b2153c68e48b96.zip
Add baseline test for --script option.
Diffstat (limited to 'test/baseline/opt-script.test')
-rw-r--r--test/baseline/opt-script.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/baseline/opt-script.test b/test/baseline/opt-script.test
new file mode 100644
index 00000000..041c15ee
--- /dev/null
+++ b/test/baseline/opt-script.test
@@ -0,0 +1,15 @@
+2012-03-17 KFC
+ Expenses:Food 20 CAD
+ Assets:Cash
+
+test --script test/baseline/opt-script.dat
+ -20 CAD Assets:Cash
+ 20 CAD Expenses:Food
+--------------------
+ 0
+12-Mar-17 KFC Expenses:Food 20 CAD 20 CAD
+ Assets:Cash -20 CAD 0
+2012/03/17 KFC
+ Expenses:Food 20 CAD
+ Assets:Cash
+end test