This commit is contained in:
Eduard Heimbuch
2019-11-11 11:21:51 +01:00
parent 39d41a56c5
commit 782b201e55

View File

@@ -61,7 +61,7 @@ public class HgBranchCommandTest extends AbstractHgCommandTestBase {
String branchToBeClosed = "test-branch";
new HgBranchCommand(cmdContext, repository, workdirFactory).delete(branchToBeClosed);
assertThat(readBranches()).filteredOn(b -> b.getName().equals("test-branch")).isEmpty();
assertThat(readBranches()).filteredOn(b -> b.getName().equals(branchToBeClosed)).isEmpty();
}
@Test