]> source.dussan.org Git - jgit.git/commitdiff
Fix broken MergeCommandTest 75/1875/1
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 9 Nov 2010 23:11:12 +0000 (00:11 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 9 Nov 2010 23:11:12 +0000 (00:11 +0100)
Test was broken by commit b087bba3 changing formatting of merge
commit messages.

Change-Id: I98b1b936b9b6cbaa50fbc59d243a43e66a6ee9f9
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/MergeCommandTest.java

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