From 23600183b80713d7c87300316de0b06596d673e3 Mon Sep 17 00:00:00 2001 From: James Moger Date: Tue, 10 Jul 2012 23:54:07 -0400 Subject: Adjust repository search to handle foo.git and foo/bar.git (issue 104) --- tests/com/gitblit/tests/JGitUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/com') 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); } -- cgit v1.2.3