Update jgit to v5.11.1.202105131744-r-scm1 (#1661)

Update jgit to v5.11.1.202105131744-r-scm1

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
Sebastian Sdorra
2021-05-20 14:14:58 +02:00
committed by GitHub
parent 42745c9e34
commit d7d0d2375c
4 changed files with 19 additions and 4 deletions

View File

@@ -60,14 +60,14 @@ public class GitModifyCommand_withEmptyRepositoryTest extends GitModifyCommandTe
}
@Test
public void shouldCreateCommitOnMasterByDefault() throws IOException, GitAPIException {
public void shouldCreateCommitOnMainByDefault() throws IOException, GitAPIException {
createContext().getGlobalConfig().setDefaultBranch("");
executeModifyCommand();
try (Git git = new Git(createContext().open())) {
List<Ref> branches = git.branchList().call();
assertThat(branches).extracting("name").containsExactly("refs/heads/master");
assertThat(branches).extracting("name").containsExactly("refs/heads/main");
}
}