From: Nick Burch Date: Mon, 20 Oct 2014 23:19:30 +0000 (+0000) Subject: Escape non-ASCII characters in the unit test, so it builds properly everywhere X-Git-Tag: REL_3_11_BETA3~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df431c1d51d6516e970a471e5194c52748102f91;p=poi.git Escape non-ASCII characters in the unit test, so it builds properly everywhere git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633255 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestProper.java b/src/testcases/org/apache/poi/ss/formula/functions/TestProper.java index 6e98cfae43..cac071f416 100644 --- a/src/testcases/org/apache/poi/ss/formula/functions/TestProper.java +++ b/src/testcases/org/apache/poi/ss/formula/functions/TestProper.java @@ -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