ci: add pre-commit config

This commit is contained in:
2022-09-30 22:43:16 +02:00
parent 78867c3632
commit cfb7cc4f2f
4 changed files with 42 additions and 3 deletions
-1
View File
@@ -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"}]`))
}