(t *testing.T)
| 126 | } |
| 127 | |
| 128 | func TestDetectImportContentType(t *testing.T) { |
| 129 | buf := new(bytes.Buffer) |
| 130 | r := bufio.NewReader(buf) |
| 131 | ct, err := getImportContentType(r) |
| 132 | assert.NilError(t, err) |
| 133 | assert.Assert(t, zipType != ct) |
| 134 | } |
| 135 | |
| 136 | func TestImportTarInvalid(t *testing.T) { |
| 137 | testDir := t.TempDir() |
nothing calls this directly
no test coverage detected
searching dependent graphs…