Adding a unit test to show that LANG-313 is not a problem in the current trunk

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@496931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2007-01-17 03:56:33 +00:00
parent 801f084e8e
commit 87ee821a5d
1 changed files with 4 additions and 0 deletions

View File

@ -326,4 +326,8 @@ public class StringEscapeUtilsTest extends TestCase {
assertEquals("test & <", StringEscapeUtils.unescapeXml("test & &lt;")); assertEquals("test & <", StringEscapeUtils.unescapeXml("test & &lt;"));
} }
public void testLang313() {
assertEquals("& &", StringEscapeUtils.unescapeHtml("& &amp;"));
}
} }