fix a haddock failure reported by hydra
This commit is contained in:
parent
18c6ff2a04
commit
95f909543a
@ -391,8 +391,9 @@ checkBalanceAssertion :: ([String],MixedAmount) -> [Posting] -> ([String],MixedA
|
|||||||
checkBalanceAssertion (errs,bal) ps
|
checkBalanceAssertion (errs,bal) ps
|
||||||
| null ps = (errs,bal)
|
| null ps = (errs,bal)
|
||||||
| isNothing assertion = (errs,bal)
|
| isNothing assertion = (errs,bal)
|
||||||
-- | bal' /= assertedbal -- MixedAmount's Eq instance currently gets confused by different precisions
|
|
|
||||||
| not $ isReallyZeroMixedAmount (bal' - assertedbal)
|
-- bal' /= assertedbal -- MixedAmount's Eq instance currently gets confused by different precisions
|
||||||
|
not $ isReallyZeroMixedAmount (bal' - assertedbal)
|
||||||
= (errs++[err], bal')
|
= (errs++[err], bal')
|
||||||
| otherwise = (errs,bal')
|
| otherwise = (errs,bal')
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user