Skip to content

Commit e43e7a9

Browse files
committed
fix: remove unused import
1 parent d519340 commit e43e7a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http_utils_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"strings"
88
"testing"
9-
9+
1010
"github.com/stretchr/testify/require"
1111
)
1212

@@ -15,7 +15,7 @@ func TestMockHTTPServer(t *testing.T) {
1515
handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
1616
w.Header().Set("Content-Type", "application/json")
1717
w.WriteHeader(http.StatusOK)
18-
// In real request handling, the error is typically ignored as it's a disconnect which HTTP server handles
18+
// in real request handling, the error is typically ignored as it's a disconnect which HTTP server handles
1919
// ResponseWriter interface doesn't have a way to check for errors in tests
2020
// nolint:errcheck // http.ResponseWriter errors are handled by the HTTP server
2121
w.Write([]byte(`{"status":"ok"}`))

0 commit comments

Comments
 (0)