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

Function TestClientCloseSafeMultipleTimes

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

Source from the content-addressed store, hash-verified

612}
613
614func TestClientCloseSafeMultipleTimes(t *testing.T) {
615 t.Parallel()
616
617 client := NewClient("")
618 if err := client.Close(); err != nil {
619 t.Fatalf("Close() error = %v", err)
620 }
621 if err := client.Close(); err != nil {
622 t.Fatalf("second Close() error = %v", err)
623 }
624}
625
626func TestParseRepoSlugValidation(t *testing.T) {
627 t.Parallel()

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.95
NewClientFunction · 0.70

Tested by

no test coverage detected