(t *testing.T)
| 20 | ) |
| 21 | |
| 22 | func TestJSONFields(t *testing.T) { |
| 23 | jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdReadDir, []string{ |
| 24 | "name", |
| 25 | "path", |
| 26 | "nameRaw", |
| 27 | "pathRaw", |
| 28 | "type", |
| 29 | "gitType", |
| 30 | "mode", |
| 31 | "modeOctal", |
| 32 | "gitSHA", |
| 33 | "size", |
| 34 | "submodule", |
| 35 | }) |
| 36 | } |
| 37 | |
| 38 | func Test_entryTypeFromMode(t *testing.T) { |
| 39 | tests := []struct { |
nothing calls this directly
no test coverage detected