MCPcopy Create free account
hub / github.com/cli/cli / TestPullRequests

Function TestPullRequests

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

Source from the content-addressed store, hash-verified

158}
159
160func TestPullRequests(t *testing.T) {
161 var tsEnv testScriptEnv
162 if err := tsEnv.fromEnv(); err != nil {
163 t.Fatal(err)
164 }
165
166 testscript.Run(t, testScriptParamsFor(tsEnv, "pr"))
167}
168
169func TestReleases(t *testing.T) {
170 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