mirror of https://github.com/hashicorp/packer
parent
7d3987d840
commit
cfcdeadf53
@ -0,0 +1,12 @@
|
||||
package uuid
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestTimeOrderedUuid(t *testing.T) {
|
||||
uuid := TimeOrderedUUID()
|
||||
if len(uuid) != 36 {
|
||||
t.Fatalf("bad: %s", uuid)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue