MCPcopy Create free account
hub / github.com/compozy/agh / TestClientSearchNotSupported

Function TestClientSearchNotSupported

internal/registry/github/client_test.go:21–28  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19)
20
21func TestClientSearchNotSupported(t *testing.T) {
22 t.Parallel()
23
24 _, err := NewClient("").Search(context.Background(), "anything", registry.SearchOpts{})
25 if !errors.Is(err, registry.ErrNotSupported) {
26 t.Fatalf("Search() error = %v, want ErrNotSupported", err)
27 }
28}
29
30func TestClientCapabilities(t *testing.T) {
31 t.Parallel()

Callers

nothing calls this directly

Calls 3

NewClientFunction · 0.70
SearchMethod · 0.65
IsMethod · 0.45

Tested by

no test coverage detected