Skip to content

Commit

Permalink
Test random string generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Apr 30, 2018
1 parent 74000d1 commit 7b58c5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7b58c5b

Please sign in to comment.