From e032d0927c6492a8f29cedb93b66ed13e470696d Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:45:57 -0500 Subject: [PATCH] tests: fix errcheck violations --- apps_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps_test.go b/apps_test.go index 5416e59..c5af97d 100644 --- a/apps_test.go +++ b/apps_test.go @@ -356,7 +356,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) } }) @@ -409,7 +409,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) } }) @@ -527,7 +527,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) }) batch, _ := client.Apps.GetMany(t.Context(), []int{apps[0].Id}) @@ -635,7 +635,7 @@ func TestApps(t *testing.T) { w.WriteHeader(http.StatusOK) w.Header().Set("Content-Type", "application/json") - w.Write(jsonData) + _, _ = w.Write(jsonData) }) app, _ := client.Apps.Get(t.Context(), expectedApp.Id)