From 1d21d3cfd32c2f4a74f7cac633f3342e81184fea Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Wed, 26 Jul 2023 10:37:17 +0200 Subject: [PATCH] Revert "Fix git clone integration test for non-existing repo" This reverts commit 7a8d413a4b2e18e5077d54c3a705b0d3e57b0e91. --- internal/git_clone_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/git_clone_test.go b/internal/git_clone_test.go index 6c76adee..b280ebc7 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.Error(t, err) + assert.Contains(t, err.Error(), `repository 'https://github.com/databricks/doesnot-exist/' not found`) }