14 lines
226 B
Go
14 lines
226 B
Go
package mirror
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/grmrgecko/repo-sync/fetch"
|
|
)
|
|
|
|
// TestMain initializes the shared HTTP client all fetch paths depend on.
|
|
func TestMain(m *testing.M) {
|
|
fetch.Reload()
|
|
os.Exit(m.Run())
|
|
}
|