(t *testing.T)
| 18 | ) |
| 19 | |
| 20 | func TestListJSONFields(t *testing.T) { |
| 21 | jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdList, []string{ |
| 22 | "id", |
| 23 | "number", |
| 24 | "title", |
| 25 | "body", |
| 26 | "url", |
| 27 | "closed", |
| 28 | "stateReason", |
| 29 | "author", |
| 30 | "category", |
| 31 | "labels", |
| 32 | "answered", |
| 33 | "answerChosenAt", |
| 34 | "answerChosenBy", |
| 35 | "createdAt", |
| 36 | "updatedAt", |
| 37 | "closedAt", |
| 38 | "locked", |
| 39 | }) |
| 40 | } |
| 41 | |
| 42 | func TestNewCmdList(t *testing.T) { |
| 43 | tests := []struct { |
nothing calls this directly
no test coverage detected