test: when total balance is zero, it should stay zero regardless of "--basis"

This commit is contained in:
Dmitry Astapov 2011-04-19 20:15:11 +00:00
parent ef0f054230
commit 222a26c306

View File

@ -134,3 +134,16 @@ bin/hledger -f - balance -B
-------------------- --------------------
$0 $0
>>>=0 >>>=0
# 10. transaction in two commodities should balance out properly
bin/hledger -f - balance --basis
<<<
2011/01/01 x
a 10£ @@ 16$
b
>>>
16$ a
-16$ b
--------------------
0$
>>>=0