From 5f72f64403762b213654c00387c8fadcd7ad33b7 Mon Sep 17 00:00:00 2001 From: storezhang Date: Thu, 15 Dec 2016 12:01:32 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=8E=BB=E6=8E=89=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E4=BB=A3=E7=A0=81=EF=BC=9B=202=E3=80=81?= =?UTF-8?q?=E5=85=A8=E9=9D=A2=E6=B5=8B=E8=AF=95Fastjson=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 103 ++---------------- .../java/com/ruijc/fastjson/FastjsonTest.java | 2 +- 2 files changed, 13 insertions(+), 92 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e613250..c1e82a5 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -68,7 +68,7 @@ - + @@ -182,86 +182,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1441,7 +1362,7 @@ - diff --git a/spring-boot-starter-fastjson/src/test/java/com/ruijc/fastjson/FastjsonTest.java b/spring-boot-starter-fastjson/src/test/java/com/ruijc/fastjson/FastjsonTest.java index 767011e..fbc459c 100644 --- a/spring-boot-starter-fastjson/src/test/java/com/ruijc/fastjson/FastjsonTest.java +++ b/spring-boot-starter-fastjson/src/test/java/com/ruijc/fastjson/FastjsonTest.java @@ -42,7 +42,7 @@ public void testJsonp() throws Exception { public void testRest() throws Exception { mvc.perform(get("/test/rest")) .andExpect(status().isOk()) - .andExpect(content().string(equalTo("{\"id\":1,\"key\":User-1}"))); + .andExpect(content().string(equalTo("{\"id\":1,\"key\":\"User-1\"}"))); } @Test