MCPcopy Index your code
hub / github.com/google/go-github / TestSearchService_Code_coverage

Function TestSearchService_Code_coverage

github/search_test.go:522–533  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

520}
521
522func TestSearchService_Code_coverage(t *testing.T) {
523 t.Parallel()
524 client, _, _ := setup(t)
525
526 ctx := t.Context()
527
528 const methodName = "Code"
529 testBadOptions(t, methodName, func() (err error) {
530 _, _, err = client.Search.Code(ctx, "\n", nil)
531 return err
532 })
533}
534
535func TestSearchService_CodeTextMatch(t *testing.T) {
536 t.Parallel()

Callers

nothing calls this directly

Calls 3

testBadOptionsFunction · 0.85
CodeMethod · 0.80
setupFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…