Skip to content

Commit

Permalink
fix: lint warning
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Dec 1, 2020
1 parent c803fcf commit 4e61ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/net/http/json/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ func TestRequest(t *testing.T) {
}(),
func() test {
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
w.Write([]byte("\"1\""))
_, _ = w.Write([]byte("\"1\""))
}))
var got string
return test{
Expand Down

0 comments on commit 4e61ee7

Please sign in to comment.