I had the expected/actual values reversed so error messages from JUnit were a bit difficult to read. Signed-off-by: Shawn O. Pearce <spearce@xxxxxxxxxxx> --- .../jgit/dircache/DirCacheIteratorTest.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheIteratorTest.java b/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheIteratorTest.java index 7d4e6bb..62a162f 100644 --- a/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheIteratorTest.java +++ b/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheIteratorTest.java @@ -87,7 +87,7 @@ public void testNoSubtree_NoTreeWalk() throws Exception { assertSame(ents[pathIdx], i.getDirCacheEntry()); pathIdx++; } - assertEquals(pathIdx, paths.length); + assertEquals(paths.length, pathIdx); } public void testNoSubtree_WithTreeWalk() throws Exception { @@ -120,7 +120,7 @@ public void testNoSubtree_WithTreeWalk() throws Exception { assertSame(modes[pathIdx], tw.getFileMode(0)); pathIdx++; } - assertEquals(pathIdx, paths.length); + assertEquals(paths.length, pathIdx); } public void testSingleSubtree_NoRecursion() throws Exception { @@ -164,7 +164,7 @@ public void testSingleSubtree_NoRecursion() throws Exception { pathIdx++; } - assertEquals(pathIdx, expPaths.length); + assertEquals(expPaths.length, pathIdx); } public void testSingleSubtree_Recursive() throws Exception { @@ -199,7 +199,7 @@ public void testSingleSubtree_Recursive() throws Exception { assertSame(mode, tw.getFileMode(0)); pathIdx++; } - assertEquals(pathIdx, paths.length); + assertEquals(paths.length, pathIdx); } public void testTwoLevelSubtree_Recursive() throws Exception { @@ -233,7 +233,7 @@ public void testTwoLevelSubtree_Recursive() throws Exception { assertSame(mode, tw.getFileMode(0)); pathIdx++; } - assertEquals(pathIdx, paths.length); + assertEquals(paths.length, pathIdx); } public void testTwoLevelSubtree_FilterPath() throws Exception { -- 1.6.0.87.g2858d -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html