From 35b9e273835e806324384b25357a1bfc76905546 Mon Sep 17 00:00:00 2001 From: Michael Crenshaw Date: Fri, 25 Mar 2022 10:05:13 -0400 Subject: [PATCH] chore: lint Signed-off-by: Michael Crenshaw --- reposerver/repository/repository_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reposerver/repository/repository_test.go b/reposerver/repository/repository_test.go index 49c5ec9a30aa..daa45f4dc3d9 100644 --- a/reposerver/repository/repository_test.go +++ b/reposerver/repository/repository_test.go @@ -1792,7 +1792,7 @@ func TestCheckoutRevision(t *testing.T) { // Create a repo such that one commit is on a non-standard ref _and nowhere else_. This is meant to simulate, for // example, a GitHub ref for a pull into one repo from a fork of that repo. run(t, sourceRepoPath, "git", "init") - run(t, sourceRepoPath, "git", "checkout", "-b", "main") // make sure there's a main branch to switch back to + run(t, sourceRepoPath, "git", "checkout", "-b", "main") // make sure there's a main branch to switch back to run(t, sourceRepoPath, "git", "commit", "-m", "empty", "--allow-empty") run(t, sourceRepoPath, "git", "checkout", "-b", "branch") run(t, sourceRepoPath, "git", "commit", "-m", "empty", "--allow-empty")