aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2014-10-20 23:19:30 +0000
committerNick Burch <nick@apache.org>2014-10-20 23:19:30 +0000
commitdf431c1d51d6516e970a471e5194c52748102f91 (patch)
treebd85821fba0a4c6e88759db0355f476378aeaed1 /src/testcases/org/apache
parente303a85c6cc6ea54156ba10b3e38ef254c4579ea (diff)
downloadpoi-df431c1d51d6516e970a471e5194c52748102f91.tar.gz
poi-df431c1d51d6516e970a471e5194c52748102f91.zip
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
Diffstat (limited to 'src/testcases/org/apache')
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestProper.java4
1 files changed, 2 insertions, 2 deletions
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