From b455c9fca404f3164ba20b028dee3961b81ba5bf Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Wed, 7 Dec 2022 07:55:11 +0100 Subject: [PATCH] Fix c/p error and typo --- userapi/util/phonehomestats_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userapi/util/phonehomestats_test.go b/userapi/util/phonehomestats_test.go index 6bf12b732..4d356195f 100644 --- a/userapi/util/phonehomestats_test.go +++ b/userapi/util/phonehomestats_test.go @@ -47,7 +47,7 @@ func TestCollect(t *testing.T) { } version, ok := data["version"] if !ok { - t.Errorf("missing database_engine in JSON request: %+v", data) + t.Errorf("missing version in JSON request: %+v", data) } if version != internal.VersionString() { t.Errorf("unexpected version: %q, expected %q", version, internal.VersionString()) @@ -77,7 +77,7 @@ func TestCollect(t *testing.T) { select { case <-time.After(time.Second * 5): - t.Errorf("timed out waitigf for response") + t.Error("timed out waiting for response") case <-receivedRequest: } })