commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r496931 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
Date Wed, 17 Jan 2007 03:56:34 GMT
Author: bayard
Date: Tue Jan 16 19:56:33 2007
New Revision: 496931

URL: http://svn.apache.org/viewvc?view=rev&rev=496931
Log:
Adding a unit test to show that LANG-313 is not a problem in the current trunk

Modified:
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java?view=diff&rev=496931&r1=496930&r2=496931
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
Tue Jan 16 19:56:33 2007
@@ -326,4 +326,8 @@
         assertEquals("test & <", StringEscapeUtils.unescapeXml("test & &lt;"));
     }
 
+    public void testLang313() {
+        assertEquals("& &", StringEscapeUtils.unescapeHtml("& &amp;"));
+    }
+
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message