creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1625268 - /creadur/rat/trunk/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java
Date Tue, 16 Sep 2014 13:06:52 GMT
Author: sebb
Date: Tue Sep 16 13:06:51 2014
New Revision: 1625268

URL: http://svn.apache.org/r1625268
Log:
Show applicable file name

Modified:
    creadur/rat/trunk/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java

Modified: creadur/rat/trunk/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java?rev=1625268&r1=1625267&r2=1625268&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java
(original)
+++ creadur/rat/trunk/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java
Tue Sep 16 13:06:51 2014
@@ -90,7 +90,7 @@ public class BinaryGuesserTest {
                 r.close();
             }
             r = null;
-            assertTrue(BinaryGuesser.isBinary(doc));
+            assertTrue("Expected binary for "+ doc.getName(),BinaryGuesser.isBinary(doc));
         } finally {
             if (r != null) {
                 r.close();



Mime
View raw message