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

Function TestListJSONFields

pkg/cmd/issue/artifact/list/list_test.go:21–36  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19)
20
21func TestListJSONFields(t *testing.T) {
22 jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdList, []string{
23 "body",
24 "bodyHtml",
25 "createdAt",
26 "creator",
27 "description",
28 "id",
29 "name",
30 "number",
31 "type",
32 "updatedAt",
33 "updatedByActor",
34 "url",
35 })
36}
37
38func TestNewCmdList(t *testing.T) {
39 tests := []struct {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected