aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2015-02-10 18:23:14 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2015-02-17 14:13:22 +0100
commit57644f23a1481cb6be0e3e9515b62ff1be028f78 (patch)
tree14712e0c78516dcedfe05d0b4ef3c208f8f540f8 /org.eclipse.jgit.http.test
parenta8743df19c2574bc3481fa5f811499b5960951a8 (diff)
downloadjgit-57644f23a1481cb6be0e3e9515b62ff1be028f78.tar.gz
jgit-57644f23a1481cb6be0e3e9515b62ff1be028f78.zip
Provide more details in exceptions thrown when packfile is invalid
Mention packfile path in exceptions thrown when we detect that a packfile is invalid and make excplicit that corrupt packs are removed from the pack list. Change-Id: I454ada5f8e69307d3f34d1c1b8f3cb87607ddf35 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/ProtocolErrorTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java
index 2823b34b1f..68c5a3a439 100644
--- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java
+++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java
@@ -162,7 +162,7 @@ public class ProtocolErrorTest extends HttpTestCase {
try {
PacketLineIn pckin = new PacketLineIn(rawin);
assertEquals("unpack error "
- + JGitText.get().packfileIsTruncated,
+ + JGitText.get().packfileIsTruncatedNoParam,
pckin.readString());
assertEquals("ng refs/objects/A n/a (unpacker error)",
pckin.readString());