MCPcopy Create free account
hub / github.com/ProspectOne/perfops-cli / cmpError

Function cmpError

perfops/run_test.go:702–704  ·  view source on GitHub ↗
(a, b error)

Source from the content-addressed store, hash-verified

700}
701
702func cmpError(a, b error) bool {
703 return a == b || (a != nil && b != nil && a.Error() == b.Error())
704}
705
706func reqBody(req *http.Request) string {
707 if req == nil || req.Body == nil {

Callers 8

TestDNSPerfFunction · 0.70
TestDNSPerfOutputFunction · 0.70
TestDNSResolveFunction · 0.70
TestDNSResolveOutputFunction · 0.70
TestCurlFunction · 0.70
TestCurlOutputFunction · 0.70
TestDoPostRunRequestFunction · 0.70
TestDoGetRunOutputFunction · 0.70

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected