MCPcopy Create free account
hub / github.com/gavv/httpexpect / TestFastHTTP

Function TestFastHTTP

_examples/fasthttp_test.go:23–29  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

21}
22
23func TestFastHTTP(t *testing.T) {
24 e := fastHTTPTester(t)
25
26 e.GET("/ping").Expect().
27 Status(200).
28 Text().IsEqual("pong")
29}

Callers

nothing calls this directly

Calls 6

fastHTTPTesterFunction · 0.85
TextMethod · 0.80
StatusMethod · 0.80
GETMethod · 0.80
IsEqualMethod · 0.45
ExpectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…