From 87ee821a5d73b836d89203e15cec2ea86cbe2992 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Wed, 17 Jan 2007 03:56:33 +0000 Subject: [PATCH] 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 --- src/test/org/apache/commons/lang/StringEscapeUtilsTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java b/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java index 09aabc0b0..b6d66163b 100644 --- a/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java +++ b/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java @@ -326,4 +326,8 @@ public class StringEscapeUtilsTest extends TestCase { assertEquals("test & <", StringEscapeUtils.unescapeXml("test & <")); } + public void testLang313() { + assertEquals("& &", StringEscapeUtils.unescapeHtml("& &")); + } + }