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

Function TestJSONFields

pkg/cmd/event/subscription/list/list_test.go:22–32  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

20)
21
22func TestJSONFields(t *testing.T) {
23 jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdList, []string{
24 "id",
25 "resourceUrl",
26 "eventTypes",
27 "createdAt",
28 "expiresAt",
29 "url",
30 "eventsUrl",
31 })
32}
33
34func TestNewCmdList(t *testing.T) {
35 tests := []struct {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected