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

Function TestReleases

acceptance/acceptance_test.go:134–141  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

132}
133
134func TestReleases(t *testing.T) {
135 var tsEnv testScriptEnv
136 if err := tsEnv.fromEnv(); err != nil {
137 t.Fatal(err)
138 }
139
140 testscript.Run(t, testScriptParamsFor(tsEnv, "release"))
141}
142
143func TestRepo(t *testing.T) {
144 var tsEnv testScriptEnv

Callers

nothing calls this directly

Calls 3

fromEnvMethod · 0.95
testScriptParamsForFunction · 0.85
RunMethod · 0.65

Tested by

no test coverage detected