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

13 lines
160 B
Go
Raw Normal View History

2013-10-17 03:19:53 -04:00
package uuid
import (
"testing"
)
func TestTimeOrderedUuid(t *testing.T) {
uuid := TimeOrderedUUID()
if len(uuid) != 36 {
t.Fatalf("bad: %s", uuid)
}
}