github.com/argoproj/argo-cd@v1.8.7/util/util_test.go (about)

     1  package util_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/argoproj/argo-cd/util"
     7  )
     8  
     9  func TestMakeSignature(t *testing.T) {
    10  	for size := 1; size <= 64; size++ {
    11  		s, err := util.MakeSignature(size)
    12  		if err != nil {
    13  			t.Errorf("Could not generate signature of size %d: %v", size, err)
    14  		}
    15  		t.Logf("Generated token: %v", s)
    16  	}
    17  }