mirror of https://github.com/docker/cli.git
18 lines
242 B
Go
18 lines
242 B
Go
|
package global
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/docker/cli/internal/test/environment"
|
||
|
)
|
||
|
|
||
|
func TestMain(m *testing.M) {
|
||
|
if err := environment.Setup(); err != nil {
|
||
|
fmt.Println(err.Error())
|
||
|
os.Exit(3)
|
||
|
}
|
||
|
os.Exit(m.Run())
|
||
|
}
|