mirror of
https://github.com/grdl/git-get.git
synced 2026-02-05 00:54:41 +00:00
Fix issues found by goerrcheck linter
This commit is contained in:
@@ -39,7 +39,11 @@ func TestFinder(t *testing.T) {
|
||||
root := test.reposMaker(t)
|
||||
|
||||
finder := NewRepoFinder(root)
|
||||
finder.Find()
|
||||
|
||||
err := finder.Find()
|
||||
if err != nil {
|
||||
t.Fatalf("finder.Find() failed: %v", err)
|
||||
}
|
||||
|
||||
assert.Len(t, finder.repos, test.want)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user