Skip to content

add test

add test #1772

Triggered via push September 15, 2023 08:00
Status Failure
Total duration 6m 52s
Artifacts

check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors
statics: server/api/hot_status_test.go#L108
cannot use check (variable of type func(res []byte, statusCode int)) as func([]byte, int, "net/http".Header) value in argument to tu.CheckGetJSON
statics: server/api/hot_status_test.go#L191
cannot use check (variable of type func(res []byte, statusCode int)) as func([]byte, int, "net/http".Header) value in argument to tu.CheckGetJSON
statics: server/api/region_test.go#L422
cannot use checkOpt (variable of type func(res []byte, code int)) as func([]byte, int, "net/http".Header) value in argument to tu.CheckPostJSON
statics: server/api/rule_test.go#L832
cannot use func(_ []byte, code int) {…} (value of type func(_ []byte, code int)) as func([]byte, int, "net/http".Header) value in argument to tu.CheckPostJSON (typecheck)
statics
Process completed with exit code 2.