File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
processing/src/test/java/org/apache/druid/java/util/emitter/core Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -177,14 +177,13 @@ protected ListenableFuture<Response> go(Request request) throws JsonProcessingEx
177177 {
178178 Assert .assertEquals ("http://example.com/val1/val2" , request .getUrl ());
179179 Assert .assertEquals (
180- StringUtils .format (
180+ JSON_MAPPER . readTree ( StringUtils .format (
181181 "[%s,%s]\n " ,
182182 JSON_MAPPER .writeValueAsString (events .get (0 )),
183183 JSON_MAPPER .writeValueAsString (events .get (1 ))
184- ),
185- StandardCharsets .UTF_8 .decode (request .getByteBufferData ().slice ()).toString ()
184+ )) ,
185+ JSON_MAPPER . readTree ( StandardCharsets .UTF_8 .decode (request .getByteBufferData ().slice ()).toString () )
186186 );
187-
188187 return GoHandlers .immediateFuture (EmitterTest .okResponse ());
189188 }
190189 }.times (1 )
You can’t perform that action at this time.
0 commit comments