You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this change, all spent amounts are negative as they should have
been from the beginning. This will make the calculation
allocation + spend = balance
correct.
BREAKING CHANGE: Sign of spent amounts is flipped to be negative.
If you use the official frontend, upgrade the frontend to 1.9.0 at the same
time as upgrading the backend to 2.0.0.
assert.True(suite.T(), envelopeMonth.Spent.Equal(spent), "Month calculation for 2022-01 is wrong: should be %v, but is %v", spent, envelopeMonth.Spent)
99
+
assert.True(suite.T(), envelopeMonth.Spent.Equal(spent.Neg()), "Month calculation for 2022-01 is wrong: should be %v, but is %v", spent.Neg(), envelopeMonth.Spent)
0 commit comments