summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server.test
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-12-07 09:51:56 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2017-12-08 07:42:33 +0900
commit53a11cb1d115eb58db1f1d22dc29a50368153205 (patch)
tree2edd1c96d3dcd196fb856a279626714cc035935d /org.eclipse.jgit.lfs.server.test
parent74bfdcd555a6f737c58daa4622e75108dba5e21f (diff)
downloadjgit-53a11cb1d115eb58db1f1d22dc29a50368153205.tar.gz
jgit-53a11cb1d115eb58db1f1d22dc29a50368153205.zip
InvalidLongObjectIdException: Fix formatting of message
The message is formatted as: Invalid id: : abcde... but should be: Invalid id: abcde... Change-Id: Ie15cacdcf2f168edaee262e6cf8061ebfe9d998d Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.server.test')
-rw-r--r--org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/DownloadTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/DownloadTest.java b/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/DownloadTest.java
index 69d1a04801..64cecd8cbe 100644
--- a/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/DownloadTest.java
+++ b/org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/DownloadTest.java
@@ -97,7 +97,7 @@ public class DownloadTest extends LfsServerTest {
getContent(id, f);
fail("expected RuntimeException");
} catch (RuntimeException e) {
- String error = String.format("Invalid id: : %s", id);
+ String error = String.format("Invalid id: %s", id);
assertEquals(formatErrorMessage(SC_UNPROCESSABLE_ENTITY, error),
e.getMessage());
}