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