(t *testing.T)
| 85 | } |
| 86 | |
| 87 | func TestCreateWithInvalidBase(t *testing.T) { |
| 88 | t.Parallel() |
| 89 | dir := bootstrapRepo(t) |
| 90 | |
| 91 | _, err := Create(t.Context(), dir, "bad-base", WithRoot(t.TempDir()), WithBase("does-not-exist")) |
| 92 | assert.ErrorIs(t, err, ErrInvalidBase) |
| 93 | } |
| 94 | |
| 95 | func TestCreateWithRemoteBaseFetches(t *testing.T) { |
| 96 | t.Parallel() |
nothing calls this directly
no test coverage detected