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

Function TestBadUnixSocket

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

Source from the content-addressed store, hash-verified

275}
276
277func TestBadUnixSocket(t *testing.T) {
278 router := New()
279 require.Error(t, router.RunUnix("#/tmp/unix_unit_test"))
280}
281
282func TestRunQUIC(t *testing.T) {
283 router := New()

Callers

nothing calls this directly

Calls 3

NewFunction · 0.85
RunUnixMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected