MCPcopy Create free account
hub / github.com/github/gh-aw / newActionUpdateDepsWithLatestRelease

Function newActionUpdateDepsWithLatestRelease

pkg/cli/update_actions_test.go:24–28  ·  view source on GitHub ↗
(fn func(context.Context, string, string, bool, bool) (string, string, error))

Source from the content-addressed store, hash-verified

22}
23
24func newActionUpdateDepsWithLatestRelease(fn func(context.Context, string, string, bool, bool) (string, string, error)) actionUpdateDeps {
25 deps := newTestActionUpdateDeps()
26 deps.getLatestRelease = fn
27 return deps
28}
29
30func TestActionKeyVersionConsistency(t *testing.T) {
31 // This test ensures that when an action is updated, the key in the map

Calls 1

newTestActionUpdateDepsFunction · 0.85

Tested by

no test coverage detected