try to figure out why this keeps failing in Gump
authorStefan Bodewig <bodewig@apache.org>
Fri, 5 Aug 2011 12:11:27 +0000 (12:11 +0000)
committerStefan Bodewig <bodewig@apache.org>
Fri, 5 Aug 2011 12:11:27 +0000 (12:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/svn/trunk@1154184 13f79535-47bb-0310-9956-ffa450edef68

src/tests/junit/org/apache/ant/svn/SvnChangeLogTaskTest.java

index 389cb70..d385190 100644 (file)
@@ -86,7 +86,8 @@ public class SvnChangeLogTaskTest extends BuildFileTest {
 
     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);