MCPcopy Create free account
hub / github.com/expr-lang/expr / httpStatusCode

Function httpStatusCode

internal/testify/assert/http_assertions_test.go:29–31  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

27}
28
29func httpStatusCode(w http.ResponseWriter, r *http.Request) {
30 w.WriteHeader(http.StatusSwitchingProtocols)
31}
32
33func TestHTTPSuccess(t *testing.T) {
34 assert := New(t)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…