You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by GitBox <gi...@apache.org> on 2021/11/02 06:20:28 UTC

[GitHub] [struts] FanYuliang commented on a change in pull request #500: fixed flakiness in JacksonXmlHandlerTest.java

FanYuliang commented on a change in pull request #500:
URL: https://github.com/apache/struts/pull/500#discussion_r740747155



##########
File path: plugins/rest/src/test/java/org/apache/struts2/rest/handler/JacksonXmlHandlerTest.java
##########
@@ -60,10 +62,16 @@ public void testObjectToXml() throws Exception {
         // when
         Writer stream = new StringWriter();
         handler.fromObject(ai, obj, null, stream);
+        String actual = stream.toString();

Review comment:
       Yes you're right, I fixed the bug in my code. Is there any other improvement?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org