Browse Source

Fix assertion in SmartClientSmartServerTest.testPush_CreateBranch()

This assertion only defined a message but didn't assert anything.

Change-Id: I0914642b64b69dc4e3ec24acbf8052f9171613d8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v4.5.0.201609210915-r
Matthias Sohn 7 years ago
parent
commit
4c25757df7

+ 1
- 1
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java View 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);

Loading…
Cancel
Save