Files
deploy/util/util_test.go
T
1d472ba293 chore: Upgrade Go module to v2 (#5931)
* chore: Upgrade Go module to v2

Signed-off-by: jannfis <[email protected]>

* Restore import order

Signed-off-by: jannfis <[email protected]>

* fix knowntypes_normalizer codegen error

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix codegen

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix Procfile

Signed-off-by: Alexander Matyushentsev <[email protected]>

Co-authored-by: Alexander Matyushentsev <[email protected]>
2021-04-01 20:44:18 +02:00

18 lines
327 B
Go

package util_test
import (
"testing"
"github.com/argoproj/argo-cd/v2/util"
)
func TestMakeSignature(t *testing.T) {
for size := 1; size <= 64; size++ {
s, err := util.MakeSignature(size)
if err != nil {
t.Errorf("Could not generate signature of size %d: %v", size, err)
}
t.Logf("Generated token: %v", s)
}
}