github.com/homburg/packer@v0.6.1-0.20140528012651-1dcaf1716848/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  }