Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse2017-12-07 00:51:56 +0000
committerDavid Pursehouse2017-12-07 11:02:59 +0000
commit899696ed08c1c3d6649de00c9d53d436fce6b1fb (patch)
tree02632f2cdaf8757681193cd00706d941a96fe28f /org.eclipse.jgit.lfs.server.test/tst
parentb433f2722fd55e43a764e7d56c29bb037d87fa09 (diff)
downloadjgit-899696ed08c1c3d6649de00c9d53d436fce6b1fb.tar.gz
jgit-899696ed08c1c3d6649de00c9d53d436fce6b1fb.tar.xz
jgit-899696ed08c1c3d6649de00c9d53d436fce6b1fb.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/tst')
-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 0f7004b5c4..33ba2de803 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
@@ -94,7 +94,7 @@ public class DownloadTest extends LfsServerTest {
String TEXT = "test";
String id = putContent(TEXT).name().replace('f', 'z');
Path f = Paths.get(getTempDirectory().toString(), "download");
- String error = String.format("Invalid id: : %s", id);
+ String error = String.format("Invalid id: %s", id);
exception.expect(RuntimeException.class);
exception.expectMessage(
formatErrorMessage(SC_UNPROCESSABLE_ENTITY, error));

Back to the top