MCPcopy Create free account
hub / github.com/cli/cli / checkResponse

Method checkResponse

script/ghmock/checker.go:156–158  ·  view source on GitHub ↗

Response-only saves reconstruct query text, not the original variable payload.

(e loggedRequest, resp *response)

Source from the content-addressed store, hash-verified

154
155// Response-only saves reconstruct query text, not the original variable payload.
156func (c *checker) checkResponse(e loggedRequest, resp *response) checkResult {
157 return c.check(e, resp, false)
158}
159
160func (c *checker) check(e loggedRequest, resp *response, validateVariables bool) checkResult {
161 var res checkResult

Callers 2

schemaCheckFunction · 0.80
TestCheckRequestFunction · 0.80

Calls 1

checkMethod · 0.95

Tested by 1

TestCheckRequestFunction · 0.64