You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ni...@apache.org on 2018/01/25 15:18:35 UTC
[tika] 03/04: Another now-expected difference from HTTPD
This is an automated email from the ASF dual-hosted git repository.
nick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git
commit 9b00c9300bb4a207b34daad4789bb389c7a6fc8b
Author: Nick Burch <ni...@gagravarr.org>
AuthorDate: Thu Jan 25 15:12:18 2018 +0000
Another now-expected difference from HTTPD
---
tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java b/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java
index a642b47..af28d73 100644
--- a/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java
+++ b/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java
@@ -762,7 +762,8 @@ public class TikaDetectionTest {
assertEquals("text/html", tika.detect("x.htm"));
assertEquals("text/plain", tika.detect("x.txt"));
assertEquals("text/plain", tika.detect("x.text"));
- assertEquals("text/plain", tika.detect("x.conf"));
+ // Differ from httpd - Use a dedicated mimetype for Config files
+ //assertEquals("text/plain", tika.detect("x.conf"));
assertEquals("text/plain", tika.detect("x.def"));
assertEquals("text/plain", tika.detect("x.list"));
assertEquals("text/x-log", tika.detect("x.log"));
--
To stop receiving notification emails like this one, please contact
nick@apache.org.