]> source.dussan.org Git - jgit.git/commitdiff
Fix assertion in SmartClientSmartServerTest.testPush_CreateBranch() 84/76484/2
authorMatthias Sohn <matthias.sohn@sap.com>
Sun, 3 Jul 2016 23:02:26 +0000 (01:02 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 7 Jul 2016 21:23:33 +0000 (17:23 -0400)
This assertion only defined a message but didn't assert anything.

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

index 073c751286c03beafea395d02cb84820747dc073..2b9105cfe7e2d3bea3c497e538fd96dbd4c8c53d 100644 (file)
@@ -610,7 +610,7 @@ public class SmartClientSmartServerTest extends HttpTestCase {
                fsck(remoteRepository, Q);
 
                final ReflogReader log = remoteRepository.getReflogReader(dstName);
-               assertNotNull("has log for " + dstName);
+               assertNotNull("has log for " + dstName, log);
 
                final ReflogEntry last = log.getLastEntry();
                assertNotNull("has last entry", last);