hide zeros only in bal

This commit is contained in:
Bel LaPointe
2025-04-03 12:11:32 -06:00
parent d093db1a2b
commit 757afa603e
3 changed files with 6 additions and 6 deletions

View File

@@ -38,9 +38,12 @@ func TestDeltas(t *testing.T) {
}
balances := deltas.Balances()
if len(balances) != 1 {
if len(balances) != 2 {
t.Error(len(balances), balances)
}
if balances["a"][""] != 0 {
t.Error(balances["a"])
}
if balances["b"][""] != 1.3 {
t.Error(balances["b"])
}