diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-07 09:51:56 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-07 20:02:59 +0900 |
commit | 899696ed08c1c3d6649de00c9d53d436fce6b1fb (patch) | |
tree | 02632f2cdaf8757681193cd00706d941a96fe28f /org.eclipse.jgit.lfs.server.test | |
parent | b433f2722fd55e43a764e7d56c29bb037d87fa09 (diff) | |
download | jgit-899696ed08c1c3d6649de00c9d53d436fce6b1fb.tar.gz 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')
-rw-r--r-- | org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/DownloadTest.java | 2 |
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)); |