This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/master by this push:
new 0e26985 fix unit test that breaks on windows
0e26985 is described below
commit 0e2698505b49350c1aeff1b54318de16c46dcdb1
Author: tallison <[email protected]>
AuthorDate: Fri Oct 4 10:59:39 2019 -0400
fix unit test that breaks on windows
---
tika-eval/src/test/java/org/apache/tika/eval/io/ExtractReaderTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/tika-eval/src/test/java/org/apache/tika/eval/io/ExtractReaderTest.java
b/tika-eval/src/test/java/org/apache/tika/eval/io/ExtractReaderTest.java
index ff34199..0df57f9 100644
--- a/tika-eval/src/test/java/org/apache/tika/eval/io/ExtractReaderTest.java
+++ b/tika-eval/src/test/java/org/apache/tika/eval/io/ExtractReaderTest.java
@@ -74,7 +74,7 @@ public class ExtractReaderTest extends TikaTest {
assertEquals(1, metadataList.size());
Metadata m = metadataList.get(0);
assertEquals(1,
m.getValues(AbstractRecursiveParserWrapperHandler.TIKA_CONTENT).length);
- assertEquals("the quick brown fox fox fox jumped over the lazy lazy
dog\n",
+ assertContains("the quick brown fox fox fox jumped over the lazy lazy
dog",
m.get(AbstractRecursiveParserWrapperHandler.TIKA_CONTENT));
//test that the mime is inferred from the file extension