summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2016-07-04 01:02:26 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2016-07-07 17:23:33 -0400
commit4c25757df75bb845f66f6970c7d9addfa0f09fac (patch)
treefaea1b1f6a818515e5efb868f58be27a4ea9c276 /org.eclipse.jgit.http.test
parent63cf87f8630e1176008f308742d7a72f5c7ec123 (diff)
downloadjgit-4c25757df75bb845f66f6970c7d9addfa0f09fac.tar.gz
jgit-4c25757df75bb845f66f6970c7d9addfa0f09fac.zip
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>
Diffstat (limited to 'org.eclipse.jgit.http.test')
-rw-r--r--org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
index 073c751286..2b9105cfe7 100644
--- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
+++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
@@ -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);