hledger/tests/balancing-with-prices.test
Simon Michael 1de9cc1d80 fix a regression balancing a transaction containing different prices
And try to clarify amount arithmetic a bit more. More to come I expect.
2011-09-03 21:27:37 +00:00

10 lines
135 B
Plaintext

# this should balance
bin/hledger -f - print
<<<
2011/1/1
a 1h @ $10
b 1h @ $20
c $-30
>>>2 !/could not balance/
>>>= 0