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

Function TestReasons

pkg/cmd/issue/lock/lock_test.go:734–740  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

732}
733
734func TestReasons(t *testing.T) {
735 assert.Equal(t, len(reasons), len(reasonsApi))
736
737 for _, reason := range reasons {
738 assert.Equal(t, strings.ToUpper(reason), string(*reasonsMap[reason]))
739 }
740}

Callers

nothing calls this directly

Calls 1

EqualMethod · 0.80

Tested by

no test coverage detected