diff --git a/backend/rest_test.go b/backend/rest_test.go index 344e9d0a0..36b513f5a 100644 --- a/backend/rest_test.go +++ b/backend/rest_test.go @@ -65,7 +65,6 @@ func TestRestBackend(t *testing.T) { }) for _, dir := range dirs { - r.HandleFunc("/"+dir+"/", func(w http.ResponseWriter, r *http.Request) { method := r.Method vars := strings.Split(r.RequestURI, "/")