main
bel 2023-10-27 07:39:12 -06:00
parent 48463f1d43
commit 72be536c02
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ func TestPredictionPredict(t *testing.T) {
} }
from := time.Now() from := time.Now()
these := []time.Time{time.Now().Add(time.Hour * 24 * 365 / 12)} these := []time.Time{time.Now().Add(time.Hour * 24 * 365 / 12)}
theseK := these.Format("2006-01") theseK := these[0].Format("2006-01")
_, _ = inc, double _, _ = inc, double
cases := map[string]struct { cases := map[string]struct {
@ -41,7 +41,7 @@ func TestPredictionPredict(t *testing.T) {
want ledger.Register want ledger.Register
}{ }{
"empty": { "empty": {
want: ledger.Balances{theseK: {}}, want: ledger.Register{theseK: {}},
}, },
} }