From bd3b84db32d47b1c1e257644978f3bdf1bdb7f93 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:42:12 -0500 Subject: [PATCH] tests: fix errcheck violations --- apps_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps_test.go b/apps_test.go index 7edb9e2..5416e59 100644 --- a/apps_test.go +++ b/apps_test.go @@ -119,7 +119,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) }) page, err := client.Apps.List(t.Context()) @@ -160,7 +160,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) }) - client.Apps.List( + _, _ = client.Apps.List( t.Context(), onspring.ForPageNumber(expectedPageNumber), onspring.WithPageSize(expectedPageSize), @@ -239,7 +239,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) } if pageNumber == "2" { @@ -247,7 +247,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) } }) @@ -295,7 +295,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) } if pageNumber == "2" {