jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1211918 - /jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
Date Thu, 08 Dec 2011 14:46:43 GMT
Author: thomasm
Date: Thu Dec  8 14:46:42 2011
New Revision: 1211918

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

Modified:
    jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java

Modified: jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java?rev=1211918&r1=1211917&r2=1211918&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
(original)
+++ jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
Thu Dec  8 14:46:42 2011
@@ -323,7 +323,7 @@ public class FileSystemTest extends Test
                         // position is larger than the current size
                         ra.setLength(pos);
                     }
-                    assertEquals(ra.getFilePointer(), f.position());
+                    assertEquals("truncate " + pos, ra.getFilePointer(), f.position());
                     buff.append("truncate " + pos + "\n");
                     break;
                 }



Mime
View raw message