MCPcopy Create free account
hub / github.com/codesenberg/bombardier / TestErrorMapGet

Function TestErrorMapGet

error_map_test.go:18–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16}
17
18func TestErrorMapGet(t *testing.T) {
19 m := newErrorMap()
20 err := errors.New("get")
21 if c := m.get(err); c != 0 {
22 t.Error(c)
23 }
24}
25
26func TestByFrequency(t *testing.T) {
27 m := newErrorMap()

Callers

nothing calls this directly

Calls 3

newErrorMapFunction · 0.85
getMethod · 0.80
ErrorMethod · 0.80

Tested by

no test coverage detected