marcospereira commented on code in PR #1556:
URL: https://github.com/apache/tika/pull/1556#discussion_r1463890809


##########
tika-core/src/test/java/org/apache/tika/mime/ProbabilisticMimeDetectionTest.java:
##########
@@ -135,7 +136,7 @@ private void testFile(String expected, String filename) 
throws IOException {
 
     private void testStream(String expected, String urlOrFileName, InputStream 
in)
             throws IOException {
-        assertNotNull("Test stream: [" + urlOrFileName + "] is null!", in);
+        assertNotNull(in, "Test stream: [" + urlOrFileName + "] is null!");

Review Comment:
   Got it. Let me reorganize the commits and remove this now. The tests passed 
with no issues on my machine, though.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to