MCPcopy
hub / github.com/cli/cli / TestOwnerCached

Function TestOwnerCached

pkg/cmd/extension/extension_test.go:98–104  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

96}
97
98func TestOwnerCached(t *testing.T) {
99 e := &Extension{
100 owner: "cli",
101 }
102
103 assert.Equal(t, "cli", e.Owner())
104}
105
106func TestIsPinnedBinaryExtensionUnpinned(t *testing.T) {
107 tempDir := t.TempDir()

Callers

nothing calls this directly

Calls 2

OwnerMethod · 0.95
EqualMethod · 0.80

Tested by

no test coverage detected