mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 20:54:41 +00:00
18 lines
223 B
Go
18 lines
223 B
Go
package pkg
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestList(t *testing.T) {
|
|
_ = os.Setenv(EnvReposRoot, "/home/gru/workspace")
|
|
|
|
paths, err := FindRepos()
|
|
checkFatal(t, err)
|
|
|
|
repos, _ := OpenAll(paths)
|
|
|
|
PrintRepos(repos)
|
|
}
|