ci: add pre-commit config
This commit is contained in:
@@ -87,7 +87,6 @@ func TestRestClient_GetTags(t *testing.T) {
|
||||
},
|
||||
handler: func(t *testing.T) http.HandlerFunc {
|
||||
return func(writer http.ResponseWriter, request *http.Request) {
|
||||
//writer.Header().Set("Content-Length", "23")
|
||||
writer.WriteHeader(http.StatusOK)
|
||||
_, _ = writer.Write([]byte(`[{"name":"1.0"},{"name": "1.1"}]`))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user