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

Function TestClientCapabilities

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

Source from the content-addressed store, hash-verified

28}
29
30func TestClientCapabilities(t *testing.T) {
31 t.Parallel()
32
33 if caps := NewClient("").Capabilities(); caps != (registry.SourceCaps{Search: false}) {
34 t.Fatalf("Capabilities() = %#v, want search disabled", caps)
35 }
36}
37
38func TestClientInfoFetchesLatestAndVersions(t *testing.T) {
39 t.Parallel()

Callers

nothing calls this directly

Calls 2

NewClientFunction · 0.70
CapabilitiesMethod · 0.65

Tested by

no test coverage detected