hledger/tests/balance-sample.test

29 lines
646 B
Plaintext
Raw Normal View History

2011-09-23 06:04:33 +04:00
# 1.
hledgerdev -f data/sample.journal balance
>>>
$-1 assets
$1 bank:saving
$-2 cash
$2 expenses
$1 food
$1 supplies
$-2 income
$-1 gifts
$-1 salary
$1 liabilities:debts
2010-05-25 00:57:40 +04:00
--------------------
0
>>>=0
2011-09-23 06:04:33 +04:00
# 2.
hledgerdev -f data/sample.journal balance o
2011-09-23 06:04:33 +04:00
>>>
$1 expenses:food
$-2 income
$-1 gifts
$-1 salary
--------------------
$-1
>>>=0