mirror of https://github.com/docker/cli.git
18 lines
241 B
Go
18 lines
241 B
Go
|
package image
|
||
|
|
||
|
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())
|
||
|
}
|