diff options
author | Alex Lewis <alex.lewis001@gmail.com> | 2013-12-23 15:02:18 +0000 |
---|---|---|
committer | Alex Lewis <alex.lewis001@gmail.com> | 2013-12-23 15:02:18 +0000 |
commit | f879b59d26aa85b3a80d984abd7194ffb3e9946d (patch) | |
tree | 67303be7b41d7add3ad5c9be71ecc7bd145febf4 /src | |
parent | 78907dd20fcdcc911dc287949a687d0579b25abb (diff) | |
download | gitblit-f879b59d26aa85b3a80d984abd7194ffb3e9946d.tar.gz gitblit-f879b59d26aa85b3a80d984abd7194ffb3e9946d.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/java/com/gitblit/tests/JGitUtilsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
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();
}
|