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:
parent
801f084e8e
commit
87ee821a5d
|
@ -326,4 +326,8 @@ public class StringEscapeUtilsTest extends TestCase {
|
||||||
assertEquals("test & <", StringEscapeUtils.unescapeXml("test & <"));
|
assertEquals("test & <", StringEscapeUtils.unescapeXml("test & <"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testLang313() {
|
||||||
|
assertEquals("& &", StringEscapeUtils.unescapeHtml("& &"));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue