]> source.dussan.org Git - jgit.git/commitdiff
Adapt expected commit message in tests 03/2403/1
authorRobin Stocker <robin@nibor.org>
Wed, 2 Feb 2011 15:11:39 +0000 (16:11 +0100)
committerRobin Stocker <robin@nibor.org>
Wed, 2 Feb 2011 15:11:39 +0000 (16:11 +0100)
Because of change I28ae5713, the commit message lost the "into HEAD" and
caused the MergeCommandTest to fail. This change fixes it.

Bug: 336059
Change-Id: Ifac0138c6c6d66c40d7295b5e11ff3cd98bc9e0c

org.eclipse.jgit.test/tst/org/eclipse/jgit/api/MergeCommandTest.java

index a35396cc9fd20ceba64f7de1dfb33e6bec21862f..0ef24bd8a5d4168b349319bba61c1afdeed7ea83 100644 (file)
@@ -364,7 +364,7 @@ public class MergeCommandTest extends RepositoryTestCase {
                assertEquals(thirdCommit, newHead.getParent(0));
                assertEquals(secondCommit, newHead.getParent(1));
                assertEquals(
-                               "Merge commit '3fa334456d236a92db020289fe0bf481d91777b4' into HEAD",
+                               "Merge commit '3fa334456d236a92db020289fe0bf481d91777b4'",
                                newHead.getFullMessage());
                // @TODO fix me
                assertEquals(RepositoryState.SAFE, db.getRepositoryState());
@@ -425,7 +425,7 @@ public class MergeCommandTest extends RepositoryTestCase {
                assertEquals(thirdCommit, newHead.getParent(0));
                assertEquals(secondCommit, newHead.getParent(1));
                assertEquals(
-                               "Merge commit '064d54d98a4cdb0fed1802a21c656bfda67fe879' into HEAD",
+                               "Merge commit '064d54d98a4cdb0fed1802a21c656bfda67fe879'",
                                newHead.getFullMessage());
 
                assertEquals(RepositoryState.SAFE, db.getRepositoryState());