From c36c6abb8deadeb44d1e795c21a58bbd5c85a6ae Mon Sep 17 00:00:00 2001 From: Max Coplan Date: Mon, 17 Apr 2023 16:35:49 -0400 Subject: [PATCH] [collectors]: fix typo in test assertion (#1153) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Max 👨🏽‍💻 Coplan Max.Coplan@walmart.com Signed-off-by: Max 👨🏽‍💻 Coplan Max.Coplan@walmart.com Co-authored-by: Max 👨🏽‍💻 Coplan --- prometheus/collectors/go_collector_latest_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/collectors/go_collector_latest_test.go b/prometheus/collectors/go_collector_latest_test.go index 8ab3b94..ebde891 100644 --- a/prometheus/collectors/go_collector_latest_test.go +++ b/prometheus/collectors/go_collector_latest_test.go @@ -50,7 +50,7 @@ func TestGoCollectorMarshalling(t *testing.T) { } if _, err := json.Marshal(result); err != nil { - t.Errorf("json marshalling shoud not fail, %v", err) + t.Errorf("json marshalling should not fail, %v", err) } }