diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2016-01-03 10:27:36 -0500 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2016-01-03 10:27:37 -0500 |
commit | 91a3f1747460e71ef310d9d989b3deea1226336a (patch) | |
tree | e589c9177a27e2597384c1046d1f5681fb3bef7a /org.eclipse.jgit.junit | |
parent | 63bb0bcd4af3e70afe13173b4e3b9173fcb8eaea (diff) | |
parent | ac41920a430941b9385889d19e0fc2764ba23474 (diff) | |
download | jgit-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.java | 4 |
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); } } |