summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server.test
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-12-07 10:18:21 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2017-12-08 07:43:19 +0900
commitdeb68cfb4ae602d4e49b19fffa55bdf2f727ed42 (patch)
tree3ac30977f0a1fb2026af60205232fdcba624fc57 /org.eclipse.jgit.lfs.server.test
parent53a11cb1d115eb58db1f1d22dc29a50368153205 (diff)
downloadjgit-deb68cfb4ae602d4e49b19fffa55bdf2f727ed42.tar.gz
jgit-deb68cfb4ae602d4e49b19fffa55bdf2f727ed42.zip
LfsServerText: Fix formatting of invalidPathInfo message
The message is formatted as: Invalid pathInfo '/abc' does not match '/{SHA-256}' but should be: Invalid pathInfo: '/abc' does not match '/{SHA-256}' (i.e. including a colon) to be consistent with other messages. Change-Id: Ic38aa7d33dd02d7954b95c331a73919a90c69991 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 64cecd8cbe..303d8056d1 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
@@ -81,7 +81,7 @@ public class DownloadTest extends LfsServerTest {
fail("expected RuntimeException");
} catch (RuntimeException e) {
String error = String.format(
- "Invalid pathInfo '/%s' does not match '/{SHA-256}'", id);
+ "Invalid pathInfo: '/%s' does not match '/{SHA-256}'", id);
assertEquals(formatErrorMessage(SC_UNPROCESSABLE_ENTITY, error),
e.getMessage());
}