Skip to content

test: add TestInvalidValidationError and fix doc typos in errors.go - #1615

Open
aoright wants to merge 1 commit into
go-playground:masterfrom
aoright:test/add-invalid-validation-error-test
Open

test: add TestInvalidValidationError and fix doc typos in errors.go#1615
aoright wants to merge 1 commit into
go-playground:masterfrom
aoright:test/add-invalid-validation-error-test

Conversation

@aoright

@aoright aoright commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • In validator_test.go, add unit test TestInvalidValidationError verifying InvalidValidationError.Error() output formats (for nil type and typed nil) and ensuring v.Struct(nil) yields *InvalidValidationError.
  • Fix minor doc comment typos in errors.go (missing backtick around `StructPartial` and it's name -> its name).
Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
@aoright
aoright requested a review from a team as a code owner August 20, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant