mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 05:39:31 +03:00
test: accounts with zero balance should be elided even when multiple commodities are used
This commit is contained in:
parent
1c7ad7f421
commit
906e2659dd
@ -1,3 +1,4 @@
|
||||
#
|
||||
bin/hledger -f - balance
|
||||
<<<
|
||||
2009/1/1 x
|
||||
@ -8,3 +9,29 @@ bin/hledger -f - balance
|
||||
€-1 b
|
||||
--------------------
|
||||
€0
|
||||
# One commodity. Balance should be elided
|
||||
bin/hledger -f - balance
|
||||
<<<
|
||||
2010/04/01 tr1
|
||||
a 16$
|
||||
b -16$
|
||||
|
||||
2010/04/02 tr2
|
||||
a -16$
|
||||
b 16$
|
||||
>>>
|
||||
--------------------
|
||||
0
|
||||
# Two commodities. Balance should also be elided
|
||||
bin/hledger -f - balance
|
||||
<<<
|
||||
2010/04/01 tr1
|
||||
a 16$ @@ 10€
|
||||
b -10€
|
||||
|
||||
2010/04/02 tr2
|
||||
a -16$
|
||||
b 10€ @@ 16$
|
||||
>>>
|
||||
--------------------
|
||||
0
|
||||
|
Loading…
Reference in New Issue
Block a user