MCPcopy
hub / github.com/gin-gonic/gin / TestBadFileDescriptor

Function TestBadFileDescriptor

gin_integration_test.go:339–342  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

337}
338
339func TestBadFileDescriptor(t *testing.T) {
340 router := New()
341 require.Error(t, router.RunFd(0))
342}
343
344func TestListener(t *testing.T) {
345 router := New()

Callers

nothing calls this directly

Calls 3

NewFunction · 0.85
RunFdMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected