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

Function TestMultipleRemotesErrorMessage

pkg/cmd/secret/shared/base_repo_test.go:178–181  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

176}
177
178func TestMultipleRemotesErrorMessage(t *testing.T) {
179 err := shared.AmbiguousBaseRepoError{}
180 require.EqualError(t, err, "multiple remotes detected. please specify which repo to use by providing the -R, --repo argument")
181}
182
183func errMultipleRemotesStubFn() (ghrepo.Interface, error) {
184 remote1 := &ghContext.Remote{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected