mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
187fcf75ed
Surprisingly, balance assertions were checking to maximum precision, which meant it was possible, with a display-precision-limiting commodity directive, to have a failing assertion with the error message showing asserted and actual amounts that looked the same. Now we round the calculated account balance (but not the asserted balance) to display precision before comparing. This should ensure assertions always behave as you would expect from visual inspection. |
||
---|---|---|
.. | ||
0unittests | ||
accounts | ||
add | ||
addons | ||
balance | ||
balancesheet | ||
budget | ||
cashflow | ||
cli | ||
csv | ||
i18n | ||
incomestatement | ||
journal | ||
misc | ||
register | ||
stats | ||
timeclock |