Skip to content

Commit

Permalink
TIKA-4199: adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
THausherr committed Feb 20, 2024
1 parent de1b2bb commit 49a13b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void testWordTrunc13138() throws Exception {
//this tests that there's a backoff to the pkg parser
List<Metadata> metadataList =
getRecursiveMetadata(truncate("testWORD_various.docx", 13138), true);
assertEquals(19, metadataList.size());
assertEquals(18, metadataList.size());
Metadata m = metadataList.get(0);
assertEquals("application/x-tika-ooxml", m.get(Metadata.CONTENT_TYPE));
}
Expand All @@ -48,7 +48,7 @@ public void testWordTrunc774() throws Exception {
//this is really truncated
List<Metadata> metadataList =
getRecursiveMetadata(truncate("testWORD_various.docx", 774), true);
assertEquals(4, metadataList.size());
assertEquals(3, metadataList.size());
Metadata m = metadataList.get(0);
assertEquals("application/x-tika-ooxml", m.get(Metadata.CONTENT_TYPE));
}
Expand Down

0 comments on commit 49a13b3

Please sign in to comment.