diff --git a/common/util_test.go b/common/util_test.go index 66507a90..50b680fe 100644 --- a/common/util_test.go +++ b/common/util_test.go @@ -14,6 +14,12 @@ import ( "github.com/stretchr/testify/assert" ) +func TestGenerateRandomString(t *testing.T) { + randString, err := GenerateRandomString() + assert.Nil(t, err) + assert.Equal(t, len(randString), 44) +} + func TestCheckForDockerCompose(t *testing.T) { cwd, err := os.Getwd() assert.Nil(t, err)