hledger/tests/balance/depth.test
Simon Michael b9571bd088 bal/bs/cf/is: consistently separate columns with a double space
Previously, amounts wider than the column headings would be separated
by only a single space. Also there was an extra space before the first
column.
2017-07-27 09:09:03 -07:00

29 lines
563 B
Plaintext

# 1.
hledger -f sample.journal balance --no-total --depth 1
>>>
$-1 assets
$2 expenses
$-2 income
$1 liabilities
>>>=0
# 2. Depth 0 aggregates everything into one line
hledger -f sample.journal balance --no-total --depth 0
>>>
0 ...
>>>=0
# 3. Ditto in a multi-column balance report.
hledger -f sample.journal balance -M -e 2008/4 --depth 0
>>>
Balance changes in 2008/01:
|| 2008/01
=====++=========
... || 0
-----++---------
|| 0
>>>=0