From 4c25757df75bb845f66f6970c7d9addfa0f09fac Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Mon, 4 Jul 2016 01:02:26 +0200 Subject: [PATCH] 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 --- .../org/eclipse/jgit/http/test/SmartClientSmartServerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 073c751286c..2b9105cfe7e 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 void testPush_CreateBranch() throws Exception { 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);