Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
  • Loading branch information
crenshaw-dev committed Mar 25, 2022
1 parent 6618e7a commit 35b9e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reposerver/repository/repository_test.go
Expand Up @@ -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")
Expand Down

0 comments on commit 35b9e27

Please sign in to comment.