1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration/system/uuid_test.go

21 lines
322 B
Go
Raw Normal View History

package system
import (
"context"
"testing"
"github.com/pborman/uuid"
"gotest.tools/assert"
)
func TestUUIDGeneration(t *testing.T) {
defer setupTest(t)()
c := testEnv.APIClient()
info, err := c.Info(context.Background())
assert.NilError(t, err)
id := uuid.Parse(info.ID)
assert.Equal(t, id != nil, true)
}