Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: wayner0628 <[email protected]>
  • Loading branch information
wayner0628 committed Nov 6, 2024
1 parent e591715 commit ca8943d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const FriendlyNameLengthLimit = 255

var AllowedFriendlyNameChars = []rune(AllowedFriendlyNameStr)

func TestGetExecutionName(t *testing.T) {
t.Run("friendly name", func(t *testing.T) {
func TestCreateFriendlyName(t *testing.T) {
t.Run("successful creation", func(t *testing.T) {
randString := CreateFriendlyName(time.Now().UnixNano())
assert.LessOrEqual(t, len(randString), FriendlyNameLengthLimit)
for i := 0; i < len(randString); i++ {
Expand Down

0 comments on commit ca8943d

Please sign in to comment.