Skip to content

Commit

Permalink
fix test names
Browse files Browse the repository at this point in the history
  • Loading branch information
lovromazgon committed Apr 12, 2024
1 parent b7a88f0 commit e564966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func TestConfig_Validate_Validations(t *testing.T) {
wantErr: true,
err: ErrGreaterThanValidationFail,
}, {
name: "greater than validation failed",
name: "greater than validation pass",
config: Config{"param1": "20"},
params: Parameters{
"param1": {Validations: []Validation{
Expand Down Expand Up @@ -385,7 +385,7 @@ func TestConfig_Validate_Validations(t *testing.T) {
wantErr: true,
err: ErrGreaterThanValidationFail,
}, {
name: "dynamic: greater than validation failed",
name: "dynamic: greater than validation pass",
config: Config{"foo.0.param1": "20"},
params: Parameters{
"foo.*.param1": {Validations: []Validation{
Expand Down

0 comments on commit e564966

Please sign in to comment.