summaryrefslogtreecommitdiffstats
path: root/src/test/java/com
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-07-02 14:52:11 -0400
committerJames Moger <james.moger@gitblit.com>2013-07-02 14:52:11 -0400
commit26c887ea966b164a5f9cecc2e6a8b4f1ff2bd9b0 (patch)
tree84b0729097d277c2fae924321edb813a7872fb70 /src/test/java/com
parent2e4b03f7fe33ed5b84ec98ce689f3e1cabf97bff (diff)
downloadgitblit-26c887ea966b164a5f9cecc2e6a8b4f1ff2bd9b0.tar.gz
gitblit-26c887ea966b164a5f9cecc2e6a8b4f1ff2bd9b0.zip
Fixed Json pretty print unit test failure
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/gitblit/tests/JsonUtilsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/gitblit/tests/JsonUtilsTest.java b/src/test/java/com/gitblit/tests/JsonUtilsTest.java
index cf058441..40e8f975 100644
--- a/src/test/java/com/gitblit/tests/JsonUtilsTest.java
+++ b/src/test/java/com/gitblit/tests/JsonUtilsTest.java
@@ -39,7 +39,7 @@ public class JsonUtilsTest {
map.put("e", "eagle");
String json = JsonUtils.toJsonString(map);
assertEquals(
- "{\n \"d\": \"dingo\",\n \"e\": \"eagle\",\n \"b\": \"bear\",\n \"c\": \"caterpillar\",\n \"a\": \"alligator\"\n}",
+ "{\"d\":\"dingo\",\"e\":\"eagle\",\"b\":\"bear\",\"c\":\"caterpillar\",\"a\":\"alligator\"}",
json);
Map<String, String> map2 = JsonUtils.fromJsonString(json,
new TypeToken<Map<String, String>>() {