From 2bb53e200bdabde83c7ebd7b920e87f9997385a7 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Mon, 20 Oct 2014 23:19:30 +0000 Subject: [PATCH] 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 --- .../org/apache/poi/ss/formula/functions/TestProper.java | 4 ++-- 1 file 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 6e98cfae4..cac071f41 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