diff --git a/cmd/cloudshell_open/clone_test.go b/cmd/cloudshell_open/clone_test.go index b6ec0b99..6cbaddc4 100644 --- a/cmd/cloudshell_open/clone_test.go +++ b/cmd/cloudshell_open/clone_test.go @@ -106,7 +106,7 @@ func TestGitCheckout(t *testing.T) { run(t, "git", "commit", "--allow-empty", "--message", "initial commit") run(t, "git", "branch", "foo") - if err := gitCheckout(tmpDir, "main"); err != nil { + if err := gitCheckout(tmpDir, "master"); err != nil { t.Fatal(err) } if err := gitCheckout(tmpDir, "foo"); err != nil {