mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Read and sort tree first before applying limit
This commit is contained in:
@@ -175,7 +175,9 @@ public class GitBrowseCommandTest extends AbstractGitCommandTestBase {
|
||||
|
||||
Collection<FileObject> foList = root.getChildren();
|
||||
|
||||
assertThat(foList).hasSize(2);
|
||||
assertThat(foList)
|
||||
.extracting("name")
|
||||
.containsExactly("d.txt", "e.txt");
|
||||
|
||||
FileObject d = findFile(foList, "d.txt");
|
||||
FileObject e = findFile(foList, "e.txt");
|
||||
|
||||
Reference in New Issue
Block a user