MCPcopy
hub / github.com/grafana/k6 / TestDefaultError

Function TestDefaultError

lib/netext/httpext/error_codes_test.go:29–32  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

27)
28
29func TestDefaultError(t *testing.T) {
30 t.Parallel()
31 testErrorCode(t, defaultErrorCode, fmt.Errorf("random error"))
32}
33
34func TestDNSErrors(t *testing.T) {
35 t.Parallel()

Callers

nothing calls this directly

Calls 2

testErrorCodeFunction · 0.85
ErrorfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…