]> source.dussan.org Git - poi.git/commitdiff
Don't depend on source files being utf8 for test to work
authorNick Burch <nick@apache.org>
Tue, 17 Oct 2006 17:52:18 +0000 (17:52 +0000)
committerNick Burch <nick@apache.org>
Tue, 17 Oct 2006 17:52:18 +0000 (17:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464977 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSheetText.java

index 239b75d7a0cfc1a7a9b4b64fe6564f2b1ba503bf..201240a227ad6e0f4931efbc8015c32093e7354b 100644 (file)
@@ -82,7 +82,7 @@ public class TestSheetText extends TestCase {
                        "Can they co-exist?\n\n" +
                        "Gay Harley\n" +
                        "Clean Development Alliance\n" +
-                       "COP 11 – MOP 1\n" +
+                       "COP 11 \u2013 MOP 1\n" + // special long hyphon
                        "December 5, 2005\n";
 
                assertEquals(1, s.getTextRuns().length);