ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r348664 - /ant/antlibs/svn/trunk/src/testcases/org/apache/ant/svn/SvnTagDiffTest.java
Date Thu, 24 Nov 2005 05:34:16 GMT
Author: bodewig
Date: Wed Nov 23 21:34:12 2005
New Revision: 348664

URL: http://svn.apache.org/viewcvs?rev=348664&view=rev
Log:
improve assert message

Modified:
    ant/antlibs/svn/trunk/src/testcases/org/apache/ant/svn/SvnTagDiffTest.java

Modified: ant/antlibs/svn/trunk/src/testcases/org/apache/ant/svn/SvnTagDiffTest.java
URL: http://svn.apache.org/viewcvs/ant/antlibs/svn/trunk/src/testcases/org/apache/ant/svn/SvnTagDiffTest.java?rev=348664&r1=348663&r2=348664&view=diff
==============================================================================
--- ant/antlibs/svn/trunk/src/testcases/org/apache/ant/svn/SvnTagDiffTest.java (original)
+++ ant/antlibs/svn/trunk/src/testcases/org/apache/ant/svn/SvnTagDiffTest.java Wed Nov 23
21:34:12 2005
@@ -131,7 +131,8 @@
     private static final void assertAdded1(String log) {
         int name = log.indexOf("<name><![CDATA[src/java/org/apache/bcel/"
                                + "Repository.java]]></name>");
-        Assert.assertTrue(name > -1);
+        Assert.assertTrue("expected element for Repository.java, log was: "
+                          + log, name > -1);
 
         int pathAfterName = log.indexOf("</path>", name);
         Assert.assertTrue(pathAfterName > -1);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message