Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
98
func
TestOwnerCached(t *testing.T) {
99
e := &Extension{
100
owner:
"cli"
,
101
}
102
103
assert.Equal(t,
"cli"
, e.Owner())
104
}
105
106
func
TestIsPinnedBinaryExtensionUnpinned(t *testing.T) {
107
tempDir := t.TempDir()
Callers
nothing calls this directly
Calls
2
Owner
Method · 0.95
Equal
Method · 0.80
Tested by
no test coverage detected