github.com/angdraug/packer@v1.3.2/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  }