Remove deprecated packages & staticcheck fixes (#22012)

`ioutil` is deprecated and should use `io` instead
This commit is contained in:
Chongyi Zheng authored and GitHub committed 2022-12-02 17:06:23 -05:00
1 parent 21bcb92926
commit 8698458f48
7 files changed
+15 -16

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ func TestActivityPubSignedPost(t *testing.T) {
body, err := io.ReadAll(r.Body)
assert.NoError(t, err)
assert.Equal(t, expected, string(body))
fmt.Fprintf(w, expected)
fmt.Fprint(w, expected)
}))
defer srv.Close()