This commit is contained in:
Shreyas Goenka 2023-06-30 02:32:20 +02:00
parent f111e693b5
commit 6165817119
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import (
func TestGitCloneCLINotFound(t *testing.T) { func TestGitCloneCLINotFound(t *testing.T) {
// Set PATH to "", so git CLI cannot be found // Set PATH to "", so git CLI cannot be found
t.Setenv("PATH", "") t.Setenv("PATH", "")
tmpDir := t.TempDir() tmpDir := t.TempDir()
cmdIO := cmdio.NewIO("text", os.Stdin, os.Stdout, os.Stderr, "") cmdIO := cmdio.NewIO("text", os.Stdin, os.Stdout, os.Stderr, "")
ctx := cmdio.InContext(context.Background(), cmdIO) ctx := cmdio.InContext(context.Background(), cmdIO)