Author: sebb
Date: Fri Mar 18 22:26:20 2011
New Revision: 1083095
URL: http://svn.apache.org/viewvc?rev=1083095&view=rev
Log:
Show why the comparison failed
Modified:
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
Modified:
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java?rev=1083095&r1=1083094&r2=1083095&view=diff
==============================================================================
---
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
(original)
+++
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
Fri Mar 18 22:26:20 2011
@@ -153,7 +153,7 @@ public class FTPClientConfigFunctionalTe
// by the parser and therefore been relegated to the same date a
// year ago.
first.add(Calendar.DATE, 2);
- assertTrue(lastfile.getTimestamp().before(first));
+ assertTrue(lastfile.getTimestamp().getTime().toString()+" before "+
first.getTime().toString(),lastfile.getTimestamp().before(first));
}
}