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 e41c129  Duh...further refinement on PR-201
e41c129 is described below

commit e41c129dfe7323b6f58aef2a3eed5167cc16b014
Author: tballison <[email protected]>
AuthorDate: Fri Sep 1 12:28:34 2017 -0400

    Duh...further refinement on PR-201
---
 .../src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java   | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git 
a/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java 
b/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java
index 58af915..64db40e 100644
--- a/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java
+++ b/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java
@@ -232,12 +232,7 @@ public class BatchProcessTest extends FSBatchTestBase {
         assertEquals(1, countChildren(outputDir));
         assertContains("System.out", streamStrings.getOutString());
         assertContains("System.err", streamStrings.getOutString());
-        if (! streamStrings.getErrString().equals("") &&
-                ! streamStrings.getErrString().startsWith("Picked up")) {// 
see https://github.com/apache/tika/pull/201
-            fail("nothing should have been written to stderr, but I saw >"+
-                    streamStrings.getErrString().replaceAll("\\r", "<r>"+"<"));
-        }
-
+        assertNotContained("writing something to System.err", 
streamStrings.getErrString());
     }
 
     @Test(timeout = 10000)

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to