diff options
author | thdox <thdox@free.fr> | 2015-02-24 10:46:18 +0100 |
---|---|---|
committer | thdox <thdox@free.fr> | 2015-02-24 19:25:18 +0100 |
commit | ddf17b62460f17e0cca3b01a40e838544d683f91 (patch) | |
tree | e30924f6e28c51b90f63dbfb66379ee4a352648b | |
parent | 0b7996ed7cdb5a5d64a58da3ed7f615ba591416f (diff) | |
download | fork-ledger-ddf17b62460f17e0cca3b01a40e838544d683f91.tar.gz fork-ledger-ddf17b62460f17e0cca3b01a40e838544d683f91.tar.bz2 fork-ledger-ddf17b62460f17e0cca3b01a40e838544d683f91.zip |
Add baseline test for --init-file option.
-rwxr-xr-x | test/CheckBaselineTests.py | 1 | ||||
-rw-r--r-- | test/baseline/opt-init-file.dat | 1 | ||||
-rw-r--r-- | test/baseline/opt-init-file.test | 10 |
3 files changed, 11 insertions, 1 deletions
diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index 3c3e590b..dd6f4702 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -33,7 +33,6 @@ class CheckBaselineTests (CheckOptions): 'help-comm', 'help-disp', 'import', - 'init-file', 'no-color', 'options', 'price-db', 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 |