diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 20:26:18 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2012-03-25 20:26:18 +0100 |
commit | 86d58584441bf673266f234fc1c77e306f2efeb0 (patch) | |
tree | 2bbd157ccd616db0cbd721b6e3da7793eacd662a /test/baseline/opt-explicit.test | |
parent | 4d0daf77d7aef535bc206154344a1061b6064ec6 (diff) | |
download | fork-ledger-86d58584441bf673266f234fc1c77e306f2efeb0.tar.gz fork-ledger-86d58584441bf673266f234fc1c77e306f2efeb0.tar.bz2 fork-ledger-86d58584441bf673266f234fc1c77e306f2efeb0.zip |
Add more baseline tests.
Diffstat (limited to 'test/baseline/opt-explicit.test')
-rw-r--r-- | test/baseline/opt-explicit.test | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/baseline/opt-explicit.test b/test/baseline/opt-explicit.test index e69de29b..defae179 100644 --- a/test/baseline/opt-explicit.test +++ b/test/baseline/opt-explicit.test @@ -0,0 +1,34 @@ +account Assets:Cash +account Expenses:Phone +account Expenses:Rent +commodity GBP + +2012-03-20 Phone + Expenses:Phone 20.00 GBP + Assets:Cash + +2012-03-21 Rent + Expenses:Rent 550.00 GBP + Assets:Cash + +2012-03-22 Food + ; :food: + Expenses:Food 20.00 EUR + Assets:Cash + +test bal --explicit --strict + -20.00 EUR + -570.00 GBP Assets:Cash + 20.00 EUR + 570.00 GBP Expenses + 20.00 EUR Food + 20.00 GBP Phone + 550.00 GBP Rent +-------------------- + 0 +__ERROR__ +Warning: "$FILE", line 16: Unknown account 'Expenses:Food' +Warning: "$FILE", line 16: Unknown commodity 'EUR' +Warning: "$FILE", line 17: Unknown metadata tag 'food' +end test + |