This commit is contained in:
Neale Pickett 2021-10-18 18:30:11 -06:00
parent a585afdd8d
commit 5adf32f456
1 changed files with 2 additions and 3 deletions

View File

@ -168,9 +168,8 @@ func TestProdServer(t *testing.T) {
t.Error("Anonymous TeamNames is wrong:", es.TeamNames)
}
if len(es.PointsLog) != 2 {
t.Error("Points log wrong length")
}
if es.PointsLog[1].TeamID != "0" {
t.Errorf("Points log wrong length: got %d, wanted 2", len(es.PointsLog))
} else if es.PointsLog[1].TeamID != "0" {
t.Error("Second point log didn't anonymize team ID correctly:", es.PointsLog[1])
}
}