summaryrefslogtreecommitdiffstats
path: root/tests/com
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-07-10 23:54:07 -0400
committerJames Moger <james.moger@gitblit.com>2012-07-10 23:54:07 -0400
commit23600183b80713d7c87300316de0b06596d673e3 (patch)
tree1e82a4ebd1f4cd5c9329f9b37070fd59cfa10023 /tests/com
parent3fb41fdec5712b792da05e8549c2c0a31f112ca0 (diff)
downloadgitblit-23600183b80713d7c87300316de0b06596d673e3.tar.gz
gitblit-23600183b80713d7c87300316de0b06596d673e3.zip
Adjust repository search to handle foo.git and foo/bar.git (issue 104)
Diffstat (limited to 'tests/com')
-rw-r--r--tests/com/gitblit/tests/JGitUtilsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/com/gitblit/tests/JGitUtilsTest.java b/tests/com/gitblit/tests/JGitUtilsTest.java
index dc4d3c50..316d1368 100644
--- a/tests/com/gitblit/tests/JGitUtilsTest.java
+++ b/tests/com/gitblit/tests/JGitUtilsTest.java
@@ -71,7 +71,7 @@ public class JGitUtilsTest {
assertEquals(0, list.size());
list.addAll(JGitUtils.getRepositoryList(new File("DoesNotExist"), true, true));
assertEquals(0, list.size());
- list.addAll(JGitUtils.getRepositoryList(GitBlitSuite.REPOSITORIES, true, true));
+ list.addAll(JGitUtils.getRepositoryList(GitBlitSuite.REPOSITORIES, false, true));
assertTrue("No repositories found in " + GitBlitSuite.REPOSITORIES, list.size() > 0);
}