From 2b3fe03972da445ba905bbde229eb9b7ef4a828e Mon Sep 17 00:00:00 2001 From: Steven Caswell Date: Mon, 22 Aug 2005 00:50:53 +0000 Subject: [PATCH] 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 --- src/test/org/apache/commons/lang/CharUtilsTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/org/apache/commons/lang/CharUtilsTest.java b/src/test/org/apache/commons/lang/CharUtilsTest.java index 88b8696dc..89b9ff8ff 100644 --- a/src/test/org/apache/commons/lang/CharUtilsTest.java +++ b/src/test/org/apache/commons/lang/CharUtilsTest.java @@ -213,6 +213,8 @@ public class CharUtilsTest extends TestCase { 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() {