(t *testing.T)
| 23 | ) |
| 24 | |
| 25 | func TestJSONFields(t *testing.T) { |
| 26 | jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdReadFile, []string{ |
| 27 | "name", |
| 28 | "path", |
| 29 | "gitSHA", |
| 30 | "size", |
| 31 | "url", |
| 32 | "htmlUrl", |
| 33 | "gitUrl", |
| 34 | "downloadUrl", |
| 35 | "type", |
| 36 | "encoding", |
| 37 | "content", |
| 38 | }) |
| 39 | } |
| 40 | |
| 41 | func Test_repoFile_ExportData(t *testing.T) { |
| 42 | file := &repoFile{ |
nothing calls this directly
no test coverage detected