ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r536221 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java
Date Tue, 08 May 2007 15:30:54 GMT
Author: mbenson
Date: Tue May  8 08:30:53 2007
New Revision: 536221

URL: http://svn.apache.org/viewvc?view=rev&rev=536221
Log:
add assertion message

Modified:
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java?view=diff&rev=536221&r1=536220&r2=536221
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java Tue May 
8 08:30:53 2007
@@ -274,7 +274,8 @@
         executeTarget("testTranscoding");
         File f1 = getProject().resolveFile("copy/expected/utf-8");
         File f2 = getProject().resolveFile("concat.utf8");
-        assertTrue(FILE_UTILS.contentEquals(f1, f2));
+        assertTrue(f1.toString() + " differs from " + f2.toString(),
+                FILE_UTILS.contentEquals(f1, f2));
     }
 
     public void testResources() {



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


Mime
View raw message