mirror of https://github.com/apache/poi.git
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:
parent
0ccd78dc30
commit
d6093ba1e3
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue