diff options
author | thdox <thdox@free.fr> | 2015-02-24 18:47:40 +0100 |
---|---|---|
committer | thdox <thdox@free.fr> | 2015-02-24 19:27:07 +0100 |
commit | e6a967b860d529137df11b2a79b2153c68e48b96 (patch) | |
tree | 733be4c5acb80cf9b9ea4878ac0037a2cdc6653a /test/baseline | |
parent | 72cb48727d979c8a20298ccdb9c711b0ce7a8a03 (diff) | |
download | fork-ledger-e6a967b860d529137df11b2a79b2153c68e48b96.tar.gz fork-ledger-e6a967b860d529137df11b2a79b2153c68e48b96.tar.bz2 fork-ledger-e6a967b860d529137df11b2a79b2153c68e48b96.zip |
Add baseline test for --script option.
Diffstat (limited to 'test/baseline')
-rw-r--r-- | test/baseline/opt-script.dat | 3 | ||||
-rw-r--r-- | test/baseline/opt-script.test | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/baseline/opt-script.dat b/test/baseline/opt-script.dat new file mode 100644 index 00000000..ac6085d5 --- /dev/null +++ b/test/baseline/opt-script.dat @@ -0,0 +1,3 @@ +--no-pager --columns=80 bal +--no-pager --columns=80 reg +--no-pager --columns=80 print 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 |