MCPcopy Index your code
hub / github.com/cli/cli / TestUpdateAvailable_IsLocal

Function TestUpdateAvailable_IsLocal

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

Source from the content-addressed store, hash-verified

8)
9
10func TestUpdateAvailable_IsLocal(t *testing.T) {
11 e := &Extension{
12 kind: LocalKind,
13 }
14
15 assert.False(t, e.UpdateAvailable())
16}
17
18func TestUpdateAvailable_NoCurrentVersion(t *testing.T) {
19 e := &Extension{

Callers

nothing calls this directly

Calls 1

UpdateAvailableMethod · 0.95

Tested by

no test coverage detected