One more test for implicit commodity pricing (test-for-failure)

This commit is contained in:
Dmitry Astapov 2011-04-25 18:37:59 +00:00
parent 6314080e14
commit fbf8eda58f

View File

@ -161,3 +161,12 @@ bin/hledger -f - balance
16$ 16$
-10£ -10£
>>>=0 >>>=0
# 12. When commodity price is specified implicitly, transaction should
# NOT be considered balanced out when BOTH amounts are negative
bin/hledger -f - balance
<<<
2011/01/01 x
a -10£
b -16$
>>>
>>>=1