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 2d4c4b7 commit e8f06bfCopy full SHA for e8f06bf
pkg/cmd/remote_test.go
@@ -43,7 +43,7 @@ func TestReadRemoteFileContent(t *testing.T) {
43
for _, tt := range tests {
44
t.Run(tt.name, func(t *testing.T) {
45
// Create a mock HTTP server
46
- server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
47
w.WriteHeader(tt.statusCode)
48
fmt.Fprint(w, tt.mockResponse)
49
}))
0 commit comments