]> source.dussan.org Git - poi.git/commitdiff
Escape non-ASCII characters in the unit test, so it builds properly everywhere
authorNick Burch <nick@apache.org>
Mon, 20 Oct 2014 23:19:30 +0000 (23:19 +0000)
committerNick Burch <nick@apache.org>
Mon, 20 Oct 2014 23:19:30 +0000 (23:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633255 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/ss/formula/functions/TestProper.java

index 6e98cfae43f83716d5c14934df4859d53fccd3f3..cac071f4166c0cbc5343fa64b894e323e60fdfb8 100644 (file)
@@ -57,10 +57,10 @@ public final class TestProper extends TestCase {
         confirm("PROPER(\"hi there\")", "Hi There");
         confirm("PROPER(\"what's up\")", "What'S Up");
         confirm("PROPER(\"I DON'T TH!NK SO!\")", "I Don'T Th!Nk So!");
-        confirm("PROPER(\"drÜbö'ä éloş|ëè \")", "Drübö'Ä Éloş|Ëè ");
+        confirm("PROPER(\"dr\u00dcb\u00f6'\u00e4 \u00e9lo\u015f|\u00eb\u00e8 \")", "Dr\u00fcb\u00f6'\u00c4 \u00c9lo\u015f|\u00cb\u00e8 ");
         confirm("PROPER(\"hi123 the123re\")", "Hi123 The123Re");
         confirm("PROPER(\"-\")", "-");
-        confirm("PROPER(\"!§$\")", "!§$");
+        confirm("PROPER(\"!\u00a7$\")", "!\u00a7$");
         confirm("PROPER(\"/&%\")", "/&%");
         
         // also test longer string