packer-cn/packer-plugin-sdk/uuid/uuid_test.go

13 lines
160 B
Go

package uuid
import (
"testing"
)
func TestTimeOrderedUuid(t *testing.T) {
uuid := TimeOrderedUUID()
if len(uuid) != 36 {
t.Fatalf("bad: %s", uuid)
}
}