Skip to content

test: fix typos in errors_test and add Error() assertions - #505

Open
aoright wants to merge 1 commit into
spf13:masterfrom
aoright:test/errors-coverage-and-fixes
Open

test: fix typos in errors_test and add Error() assertions#505
aoright wants to merge 1 commit into
spf13:masterfrom
aoright:test/errors-coverage-and-fixes

Conversation

@aoright

@aoright aoright commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • Fix typos in errors_test.go assertion failure messages (GetSpecifiedName -> GetFlag, Unwrwap -> Unwrap).
  • Add test assertions verifying Error() string formatting for NotExistError, ValueRequiredError, InvalidValueError, and InvalidSyntaxError.

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants