hide zeros only in bal
This commit is contained in:
@@ -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"])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user