hledger/hledger-lib/Hledger/Data
Simon Michael 187fcf75ed journal: clarify balance assertion/display precision interaction
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.
2019-01-06 08:30:54 +00:00
..
Account.hs journal: a new account sorting mechanism, and a bunch of sorting fixes 2018-09-22 21:45:07 -10:00
AccountName.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Amount.hs lib: amultiplier -> aismultiplier 2019-01-05 07:35:54 +00:00
Commodity.hs tests: clear out old boilerplate 2018-08-31 18:12:17 -07:00
Dates.hs ui: accounts: fix balances when there's only periodic txns 2018-10-18 14:43:00 -07:00
Journal.hs journal: clarify balance assertion/display precision interaction 2019-01-06 08:30:54 +00:00
Ledger.hs journal: a new account sorting mechanism, and a bunch of sorting fixes 2018-09-22 21:45:07 -10:00
MarketPrice.hs tests: clear out old boilerplate 2018-08-31 18:12:17 -07:00
Period.hs bs/bse/cf/is: fix display of abbreviated name for December 2018-01-19 12:45:51 -08:00
PeriodicTransaction.hs tests: update doctests after Transaction Show change 2018-09-04 14:02:04 -07:00
Posting.hs lib: journal: Add support for exact assertions 2018-10-22 09:55:14 -07:00
RawOptions.hs csv: merge lucamolteni's cassava/custom separators (squashed) (#829) 2018-09-07 12:34:51 -07:00
StringFormat.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Timeclock.hs lib: rename, reposition tprecedingcomment field 2019-01-05 07:35:54 +00:00
Transaction.hs lib: rename, reposition tprecedingcomment field 2019-01-05 07:35:54 +00:00
TransactionModifier.hs lib: amultiplier -> aismultiplier 2019-01-05 07:35:54 +00:00
Types.hs lib: rename, reposition tprecedingcomment field 2019-01-05 07:35:54 +00:00