(t *testing.T)
| 21 | ) |
| 22 | |
| 23 | func TestJSONFields(t *testing.T) { |
| 24 | jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdView, []string{ |
| 25 | "apiUrl", |
| 26 | "author", |
| 27 | "assets", |
| 28 | "body", |
| 29 | "createdAt", |
| 30 | "databaseId", |
| 31 | "id", |
| 32 | "isDraft", |
| 33 | "isPrerelease", |
| 34 | "isImmutable", |
| 35 | "name", |
| 36 | "publishedAt", |
| 37 | "tagName", |
| 38 | "tarballUrl", |
| 39 | "targetCommitish", |
| 40 | "uploadUrl", |
| 41 | "url", |
| 42 | "zipballUrl", |
| 43 | }) |
| 44 | } |
| 45 | |
| 46 | func Test_NewCmdView(t *testing.T) { |
| 47 | tests := []struct { |
nothing calls this directly
no test coverage detected