diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-30 13:35:32 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-30 13:35:32 +0200 |
commit | 3d1c59aa811bf9e961fef2f7a219a532b71a2ba2 (patch) | |
tree | f8eb606079992bdabd3432bca4c62e7430e4b955 /test/baseline | |
parent | dd3d28f7b62784b0393aa6cb099cc51d9e512b33 (diff) | |
download | fork-ledger-3d1c59aa811bf9e961fef2f7a219a532b71a2ba2.tar.gz fork-ledger-3d1c59aa811bf9e961fef2f7a219a532b71a2ba2.tar.bz2 fork-ledger-3d1c59aa811bf9e961fef2f7a219a532b71a2ba2.zip |
[tests] Add baseline test for --cleared-format
Diffstat (limited to 'test/baseline')
-rw-r--r-- | test/baseline/opt-cleared-format.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/baseline/opt-cleared-format.test b/test/baseline/opt-cleared-format.test index e69de29b..9100a636 100644 --- a/test/baseline/opt-cleared-format.test +++ b/test/baseline/opt-cleared-format.test @@ -0,0 +1,20 @@ +test tags --file test/input/drewr3.dat --cleared-format '%-30(account) %15(get_at(total_expr, 0)) %15(get_at(total_expr, 1))\n%/' +Assets $ -3,804.00 $ 775.00 +Assets:Checking $ 1,396.00 $ 775.00 +Assets:Checking:Business $ 30.00 0 +Assets:Savings $ -5,200.00 0 +Equity:Opening Balances $ -1,000.00 $ -1,000.00 +Expenses $ 6,654.00 $ 225.00 +Expenses:Auto $ 5,500.00 0 +Expenses:Books $ 20.00 0 +Expenses:Escrow $ 300.00 0 +Expenses:Food:Groceries $ 334.00 $ 225.00 +Expenses:Interest:Mortgage $ 500.00 0 +Income $ -2,030.00 0 +Income:Salary $ -2,000.00 0 +Income:Sales $ -30.00 0 +Liabilities $ -63.60 0 +Liabilities:MasterCard $ -20.00 0 +Liabilities:Mortgage:Principal $ 200.00 0 +Liabilities:Tithe $ -243.60 0 +end test |