From 5adf32f4560242d19e0479c89b8e91b0a5a9bd28 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 18 Oct 2021 18:30:11 -0600 Subject: [PATCH] CI/CD --- cmd/mothd/server_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/mothd/server_test.go b/cmd/mothd/server_test.go index 0d57e94..2434e22 100644 --- a/cmd/mothd/server_test.go +++ b/cmd/mothd/server_test.go @@ -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]) } }