Skip to content

Commit

Permalink
fix: linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Oct 16, 2024
1 parent fe3a4ae commit 7ed8933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ func TestValidateSchemaTransformerDeleteField(t *testing.T) {

huma.Validate(registry, s, pb, huma.ModeReadFromServer, map[string]any{"field1": "value1"}, res)
// We should have no errors and no panics.
assert.Len(t, res.Errors, 0)
assert.Empty(t, res.Errors)
}

func ExampleModelValidator() {
Expand Down

0 comments on commit 7ed8933

Please sign in to comment.