hledger/tests/balance/219.test

22 lines
689 B
Plaintext

# issue 219, --tree and --flat flags should override each other cleanly
# 1. multiple flags ending with --flat, equivalent to --flat
hledger -f balance-multicol.journal bal -MH --no-elide --no-total date:2013/1 --tree --flat
>>>
Ending balances (historical) in 2013-01:
|| 2013-01-31
=================++============
assets:checking || 10
>>>= 0
# 2. multiple flags ending with --tree, equivalent to --tree
hledger -f balance-multicol.journal bal -MH --no-elide --no-total date:2013/1 --flat --tree
>>>
Ending balances (historical) in 2013-01:
|| 2013-01-31
============++============
assets || 10
checking || 10
>>>= 0