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

Function requireNoKey

internal/config/migration/multi_account_test.go:243–249  ·  view source on GitHub ↗
(t *testing.T, cfg *config.Config, keys []string)

Source from the content-addressed store, hash-verified

241}
242
243func requireNoKey(t *testing.T, cfg *config.Config, keys []string) {
244 t.Helper()
245
246 _, err := cfg.Get(keys)
247 var keyNotFoundError *config.KeyNotFoundError
248 require.ErrorAs(t, err, &keyNotFoundError)
249}

Calls 2

HelperMethod · 0.65
GetMethod · 0.65

Tested by

no test coverage detected