ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1154184 - /ant/antlibs/svn/trunk/src/tests/junit/org/apache/ant/svn/SvnChangeLogTaskTest.java
Date Fri, 05 Aug 2011 12:11:28 GMT
Author: bodewig
Date: Fri Aug  5 12:11:27 2011
New Revision: 1154184

URL: http://svn.apache.org/viewvc?rev=1154184&view=rev
Log:
try to figure out why this keeps failing in Gump

Modified:
    ant/antlibs/svn/trunk/src/tests/junit/org/apache/ant/svn/SvnChangeLogTaskTest.java

Modified: ant/antlibs/svn/trunk/src/tests/junit/org/apache/ant/svn/SvnChangeLogTaskTest.java
URL: http://svn.apache.org/viewvc/ant/antlibs/svn/trunk/src/tests/junit/org/apache/ant/svn/SvnChangeLogTaskTest.java?rev=1154184&r1=1154183&r2=1154184&view=diff
==============================================================================
--- ant/antlibs/svn/trunk/src/tests/junit/org/apache/ant/svn/SvnChangeLogTaskTest.java (original)
+++ ant/antlibs/svn/trunk/src/tests/junit/org/apache/ant/svn/SvnChangeLogTaskTest.java Fri
Aug  5 12:11:27 2011
@@ -86,7 +86,8 @@ public class SvnChangeLogTaskTest extend
 
     private static final void assertRev161885(String log) {
         int rev = log.indexOf("<revision>161885</revision>");
-        Assert.assertTrue(rev > -1);
+        Assert.assertTrue("Expected to find revision 161885, but log was "
+                          + log, rev > -1);
         int entryBeforeRev = log.lastIndexOf("<entry>", rev);
         int entryAfterRev = log.indexOf("</entry>", rev);
 



Mime
View raw message