summaryrefslogtreecommitdiff
path: root/gemini/roundtrip_test.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-05-03 12:22:36 -0600
committertjpcc <tjp@ctrl-c.club>2023-05-03 12:22:36 -0600
commitbc8015c8803678d991de1d58cb407de100516d78 (patch)
tree09036b7e05f554056ee34fa783ba23506a4a7a22 /gemini/roundtrip_test.go
parentdef2baade5a4af58e3444cf6c923b1e4de584329 (diff)
linter fixes
Diffstat (limited to 'gemini/roundtrip_test.go')
-rw-r--r--gemini/roundtrip_test.go2
1 files changed, 1 insertions, 1 deletions
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))