github.com/ttysteale/packer@v0.8.2-0.20150708160520-e5f8ea386ed8/common/uuid/uuid_test.go (about)

     1  package uuid
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestTimeOrderedUuid(t *testing.T) {
     8  	uuid := TimeOrderedUUID()
     9  	if len(uuid) != 36 {
    10  		t.Fatalf("bad: %s", uuid)
    11  	}
    12  }