diff test/org/tmatesoft/hg/test/TestBranches.java @ 309:962f78aac342

Branch with few children forked shall not ignore other children once one of them is processed
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sat, 24 Sep 2011 13:02:48 +0200
parents 3f40262153a4
children 8952f89be195
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestBranches.java	Sat Sep 24 07:29:05 2011 +0200
+++ b/test/org/tmatesoft/hg/test/TestBranches.java	Sat Sep 24 13:02:48 2011 +0200
@@ -59,10 +59,9 @@
 		BranchInfo b4 = branches.getBranch("branch4");
 		assertNotNull(b4);
 		assertFalse(b4.isClosed());
-//		assertEquals(2, b4.getHeads().size());
+		assertEquals(2, b4.getHeads().size());
 		assertEquals("fceabd402f0193fb30605aed0ee3a9d5feb99f60", b4.getHeads().get(0).toString());
-		// FIXME second branch is not present when HgBranches builds cache itself!!!
-//		assertEquals("892b6a504be7835f1748ba632fe15a9389d4479b", b4.getHeads().get(1).toString());
+		assertEquals("892b6a504be7835f1748ba632fe15a9389d4479b", b4.getHeads().get(1).toString());
 		//
 		BranchInfo b5 = branches.getBranch("branch5");
 		assertNotNull(b5);