(t *testing.T)
| 168 | } |
| 169 | |
| 170 | func TestCreateOutsideGitRepo(t *testing.T) { |
| 171 | t.Parallel() |
| 172 | _, err := Create(t.Context(), t.TempDir(), "", WithRoot(t.TempDir())) |
| 173 | assert.ErrorIs(t, err, ErrNotGitRepository) |
| 174 | } |
| 175 | |
| 176 | func TestCreateRejectsUnsafeNames(t *testing.T) { |
| 177 | t.Parallel() |