summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2021-06-16 17:41:24 +0200
committerHan-Wen Nienhuys <hanwen@google.com>2021-06-16 17:45:29 +0200
commitae081b8dc1adf510a9fdffd7e2526abc37d68fcf (patch)
tree19e4eb47e85e2d4680908f8670741a135ca68d33 /org.eclipse.jgit.test
parent7856402c4bee5df4a6211ed8c711eb4d96a4f6c9 (diff)
downloadjgit-ae081b8dc1adf510a9fdffd7e2526abc37d68fcf.tar.gz
jgit-ae081b8dc1adf510a9fdffd7e2526abc37d68fcf.zip
ReachabilityCheckerTestCase: fix reachable from self test case
Change-Id: I8f94a0a0ff401f1691b3757002756b4e83dd8640 Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/ReachabilityCheckerTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/ReachabilityCheckerTestCase.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/ReachabilityCheckerTestCase.java
index 092033449b..a4411e56a5 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/ReachabilityCheckerTestCase.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/ReachabilityCheckerTestCase.java
@@ -88,7 +88,7 @@ public abstract class ReachabilityCheckerTestCase
assertReachable("reachable from another tip",
checker.areAllReachable(Arrays.asList(a), Stream.of(b2)));
assertReachable("reachable from itself",
- checker.areAllReachable(Arrays.asList(a), Stream.of(b2)));
+ checker.areAllReachable(Arrays.asList(a), Stream.of(a)));
}
@Test