Switch to 'main' as default branch

This commit is contained in:
Liam Newman
2021-04-19 13:21:22 -07:00
parent cf2571858c
commit 8af66133d2
738 changed files with 5091 additions and 5087 deletions

View File

@@ -157,12 +157,12 @@ public class CommitTest extends AbstractGitHubWireMockTest {
GHCommit commit = repo.getCommit("ab92e13c0fc844fd51a379a48a3ad0b18231215c");
assertThat("Commit which was supposed to be HEAD in the \"master\" branch was not found.",
assertThat("Commit which was supposed to be HEAD in the \"main\" branch was not found.",
commit.listBranchesWhereHead()
.toList()
.stream()
.findFirst()
.filter(it -> it.getName().equals("master"))
.filter(it -> it.getName().equals("main"))
.isPresent());
}