]> source.dussan.org Git - gitblit.git/commitdiff
Fixed test. 129/head
authorAlex Lewis <alex.lewis001@gmail.com>
Mon, 23 Dec 2013 15:02:18 +0000 (15:02 +0000)
committerAlex Lewis <alex.lewis001@gmail.com>
Mon, 23 Dec 2013 15:02:18 +0000 (15:02 +0000)
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

index f60343ae224f4e284e3f7c52320345b574a45d9e..05bea915010e3fa6f137d69178a723b8702cd1a3 100644 (file)
@@ -518,7 +518,7 @@ public class JGitUtilsTest extends GitblitUnitTest {
                // grab the commits since 2008-07-15\r
                commits = JGitUtils.getRevLog(repository, null,\r
                                new SimpleDateFormat("yyyy-MM-dd").parse("2008-07-15"));\r
-               assertEquals(12, commits.size());\r
+               assertEquals(19, commits.size());\r
                repository.close();\r
        }\r
 \r