diff --git a/internal/git_clone_test.go b/internal/git_clone_test.go index b280ebc7..6c76adee 100644 --- a/internal/git_clone_test.go +++ b/internal/git_clone_test.go @@ -59,5 +59,5 @@ func TestAccGitCloneRepositoryDoesNotExist(t *testing.T) { tmpDir := t.TempDir() err := git.Clone(context.Background(), "doesnot-exist", "", tmpDir) - assert.Contains(t, err.Error(), `repository 'https://github.com/databricks/doesnot-exist/' not found`) + assert.Error(t, err) }