one pass
parent
48463f1d43
commit
72be536c02
|
|
@ -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: {}},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue