(t *testing.T)
| 20 | ) |
| 21 | |
| 22 | func TestViewJSONFields(t *testing.T) { |
| 23 | jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdView, []string{ |
| 24 | "body", |
| 25 | "bodyHtml", |
| 26 | "createdAt", |
| 27 | "creator", |
| 28 | "description", |
| 29 | "id", |
| 30 | "name", |
| 31 | "number", |
| 32 | "type", |
| 33 | "updatedAt", |
| 34 | "updatedByActor", |
| 35 | "url", |
| 36 | "versions", |
| 37 | }) |
| 38 | } |
| 39 | |
| 40 | func TestNewCmdView(t *testing.T) { |
| 41 | tests := []struct { |
nothing calls this directly
no test coverage detected