From f879b59d26aa85b3a80d984abd7194ffb3e9946d Mon Sep 17 00:00:00 2001 From: Alex Lewis Date: Mon, 23 Dec 2013 15:02:18 +0000 Subject: [PATCH] Fixed test. testRevlog was expecting 12 commits but getting 19. Looking at the hello-world repository on github (on which the test executes) the 19 commit count appears to be correct. --- src/test/java/com/gitblit/tests/JGitUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/gitblit/tests/JGitUtilsTest.java b/src/test/java/com/gitblit/tests/JGitUtilsTest.java index f60343ae..05bea915 100644 --- a/src/test/java/com/gitblit/tests/JGitUtilsTest.java +++ b/src/test/java/com/gitblit/tests/JGitUtilsTest.java @@ -518,7 +518,7 @@ public class JGitUtilsTest extends GitblitUnitTest { // grab the commits since 2008-07-15 commits = JGitUtils.getRevLog(repository, null, new SimpleDateFormat("yyyy-MM-dd").parse("2008-07-15")); - assertEquals(12, commits.size()); + assertEquals(19, commits.size()); repository.close(); } -- 2.39.5