aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/mail_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'git-codereview/mail_test.go')
-rw-r--r--git-codereview/mail_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/mail_test.go b/git-codereview/mail_test.go
index b754d3b..93b89f4 100644
--- a/git-codereview/mail_test.go
+++ b/git-codereview/mail_test.go
@@ -298,7 +298,7 @@ func TestMailEmpty(t *testing.T) {
}()
testMain(t, "change", "work")
- testRan(t, "git checkout -q -b work",
+ testRan(t, "git checkout -q -b work HEAD",
"git branch -q --set-upstream-to origin/main")
t.Logf("creating empty change")