Skip to content

test: add TestParseErrorString and expand TestErrInvalidSpecification - #229

Open
aoright wants to merge 1 commit into
kelseyhightower:masterfrom
aoright:test/parse-error-and-invalid-spec
Open

aoright wants to merge 1 commit into
kelseyhightower:masterfrom
aoright:test/parse-error-and-invalid-spec

Conversation

@aoright

@aoright aoright commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • In envconfig_test.go, add TestParseErrorString to verify ParseError.Error() string formatting.
  • Expand TestErrInvalidSpecification to assert that non-pointer and non-struct values passed to Process correctly return ErrInvalidSpecification.

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant