increase CharUtils test coverage as reported by clover

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234401 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Caswell 2005-08-22 00:50:53 +00:00
parent aeadf7c29c
commit 2b3fe03972
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ public void testToUnicodeEscaped_char() {
int val = Integer.parseInt(str.substring(2), 16);
assertEquals(i, val);
}
assertEquals("\\u0999", CharUtils.unicodeEscaped((char) 0x999));
assertEquals("\\u1001", CharUtils.unicodeEscaped((char) 0x1001));
}
public void testToUnicodeEscaped_Character() {