ci: add pre-commit config

This commit is contained in:
argoyle committed 2022-09-30 23:37:38 +02:00
1 parent 78867c3632
commit cfb7cc4f2f
4 files changed
+42 -3

No files matched your search

-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"}]`))
}