Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani committed Jan 30, 2025
1 parent a2c7aad commit eb7901e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ignite/services/scaffolder/type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ func Test_checkMaxLength(t *testing.T) {
},
{
desc: "should fail with name exceeding max length",
name: randstr.Runes(257),
name: randstr.Runes(maxLength + 1),
shouldError: true,
},
{
desc: "should pass with name at max length",
name: randstr.Runes(256),
name: randstr.Runes(maxLength),
shouldError: false,
},
}
Expand Down

0 comments on commit eb7901e

Please sign in to comment.