From bc8015c8803678d991de1d58cb407de100516d78 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Wed, 3 May 2023 12:22:36 -0600 Subject: linter fixes --- gemini/roundtrip_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gemini/roundtrip_test.go') diff --git a/gemini/roundtrip_test.go b/gemini/roundtrip_test.go index 67b1ae0..0aa5648 100644 --- a/gemini/roundtrip_test.go +++ b/gemini/roundtrip_test.go @@ -62,7 +62,7 @@ func TestTitanRequest(t *testing.T) { return gemini.Success("", nil) } - bodyBytes, err := io.ReadAll(body.(io.Reader)) + bodyBytes, err := io.ReadAll(body) require.Nil(t, err) assert.Equal(t, "the request body\n", string(bodyBytes)) -- cgit v1.2.3