From d8e086c2ee215608caf4b2e74b51b35c6915d834 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Sun, 30 Oct 2011 09:11:20 +0000 Subject: [PATCH] update test case git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195134 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java index 46bd00ded..8eca387f0 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java @@ -42,7 +42,7 @@ public final class TestHWPFOldDocument extends HWPFTestCase { // Check assertEquals(1, doc.getRange().numSections()); assertEquals(1, doc.getRange().numParagraphs()); - assertEquals(2, doc.getRange().numCharacterRuns()); + assertEquals(1, doc.getRange().numCharacterRuns()); assertEquals( "The quick brown fox jumps over the lazy dog\r", @@ -96,7 +96,7 @@ public final class TestHWPFOldDocument extends HWPFTestCase { assertEquals(5, doc.getRange().getParagraph(4).numCharacterRuns()); assertEquals(1, doc.getRange().getParagraph(5).numCharacterRuns()); // Normal, superscript for 4th, normal - assertEquals(4, doc.getRange().getParagraph(6).numCharacterRuns()); + assertEquals(3, doc.getRange().getParagraph(6).numCharacterRuns()); } /**