update test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195134 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-10-30 09:11:20 +00:00
parent 0ccd78dc30
commit d6093ba1e3
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}
/**