From 23d4bae98378e4119a61b06e141768508ed36918 Mon Sep 17 00:00:00 2001 From: Miles Yucht Date: Mon, 11 Mar 2024 22:38:48 +0100 Subject: [PATCH] fix test --- httpclient/api_client_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/httpclient/api_client_test.go b/httpclient/api_client_test.go index 5154e48c5..808c56e7e 100644 --- a/httpclient/api_client_test.go +++ b/httpclient/api_client_test.go @@ -260,6 +260,7 @@ func TestSimpleRequestErrReaderCloseBody(t *testing.T) { }, nil }), }) + require.NoError(t, err) headers := map[string]string{"Accept": "application/json"} err = c.Do(context.Background(), "PATCH", "/a", WithRequestHeaders(headers),