We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d6aa5 commit c699e24Copy full SHA for c699e24
pkg/github/repository_resource_test.go
@@ -132,7 +132,8 @@ func Test_repositoryResourceContentsHandler(t *testing.T) {
132
http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
133
w.Header().Set("Content-Type", "image/png")
134
// as this is given as a png, it will return the content as a blob
135
- w.Write([]byte("# Test Repository\n\nThis is a test repository."))
+ _, err := w.Write([]byte("# Test Repository\n\nThis is a test repository."))
136
+ require.NoError(t, err)
137
}),
138
),
139
0 commit comments