mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-23 18:04:11 -05:00
12 lines
160 B
Go
12 lines
160 B
Go
package uuid
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestTimeOrderedUuid(t *testing.T) {
|
|
uuid := TimeOrderedUUID()
|
|
if len(uuid) != 36 {
|
|
t.Fatalf("bad: %s", uuid)
|
|
}
|
|
}
|