MCPcopy Create free account
hub / github.com/github/copilot-sdk / assertRequestMethod

Function assertRequestMethod

go/client_test.go:1640–1648  ·  view source on GitHub ↗
(t *testing.T, requests []recordedRequest, method string)

Source from the content-addressed store, hash-verified

1638}
1639
1640func assertRequestMethod(t *testing.T, requests []recordedRequest, method string) {
1641 t.Helper()
1642 for _, request := range requests {
1643 if request.Method == method {
1644 return
1645 }
1646 }
1647 t.Fatalf("expected %s request in %+v", method, requests)
1648}
1649
1650func assertNoMCPAuthInterest(t *testing.T, requests []recordedRequest) {
1651 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…