(t *testing.T)
| 39 | ) |
| 40 | |
| 41 | func TestFileMode(t *testing.T) { |
| 42 | for _, tc := range fmTests { |
| 43 | out, err := ParseFileMode(tc.in) |
| 44 | if tc.is_err { |
| 45 | assert.Error(t, err) |
| 46 | continue |
| 47 | } |
| 48 | assert.NoError(t, err) |
| 49 | assert.Equal(t, out, tc.out) |
| 50 | } |
| 51 | } |
nothing calls this directly
no test coverage detected