mirror of https://github.com/databricks/cli.git
Fix git clone integration test for non-existing repo
This commit is contained in:
parent
3fa400f00f
commit
7a8d413a4b
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue