aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2016-01-03 10:27:36 -0500
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2016-01-03 10:27:37 -0500
commit91a3f1747460e71ef310d9d989b3deea1226336a (patch)
treee589c9177a27e2597384c1046d1f5681fb3bef7a /org.eclipse.jgit.junit
parent63bb0bcd4af3e70afe13173b4e3b9173fcb8eaea (diff)
parentac41920a430941b9385889d19e0fc2764ba23474 (diff)
downloadjgit-91a3f1747460e71ef310d9d989b3deea1226336a.tar.gz
jgit-91a3f1747460e71ef310d9d989b3deea1226336a.zip
Merge changes Idaed9310,I62bd7c0b
* changes: ObjectChecker: honor some git-core fsck.* options ObjectChecker: allow some objects to skip errors
Diffstat (limited to 'org.eclipse.jgit.junit')
-rw-r--r--org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
index ac9685d375..c941afc786 100644
--- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
+++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
@@ -822,7 +822,7 @@ public class TestRepository<R extends Repository> {
break;
final byte[] bin = db.open(o, o.getType()).getCachedBytes();
- oc.checkCommit(bin);
+ oc.checkCommit(o, bin);
assertHash(o, bin);
}
@@ -832,7 +832,7 @@ public class TestRepository<R extends Repository> {
break;
final byte[] bin = db.open(o, o.getType()).getCachedBytes();
- oc.check(o.getType(), bin);
+ oc.check(o, o.getType(), bin);
assertHash(o, bin);
}
}