Stzx commented on a change in pull request #122: TEXT-172: Failing test case to 
escape apastrophe
URL: https://github.com/apache/commons-text/pull/122#discussion_r329298206
 
 

 ##########
 File path: src/test/java/org/apache/commons/text/StringEscapeUtilsTest.java
 ##########
 @@ -319,6 +319,12 @@ public void testUnescapeHtml4() {
         assertEquals("Hello&##;World", 
StringEscapeUtils.unescapeHtml4("Hello&##;World"));
     }
 
+    @Test
+    public void testEscapeHtml4Apostrophe() {
+        String unescapedChar = StringEscapeUtils.unescapeHtml4 ("'");
+        assertEquals ("'",unescapedChar, StringEscapeUtils.escapeHtml4 
(unescapedChar));
 
 Review comment:
   This test must fail.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to