Skip to content

Fix:(issue_1775) Add test for zero value structs#1972

Merged
abennett merged 2 commits intourfave:mainfrom
dearchap:issue_1775
Aug 26, 2024
Merged

Fix:(issue_1775) Add test for zero value structs#1972
abennett merged 2 commits intourfave:mainfrom
dearchap:issue_1775

Conversation

@dearchap
Copy link
Contributor

What type of PR is this?

(REQUIRED)

  • cleanup

What this PR does / why we need it:

(REQUIRED)

Ensure all public structs are usable with no initialization

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #1775

Special notes for your reviewer:

(fill-in or delete this section)

Testing

go test -run=TestZeroValue

(fill-in or delete this section)

Release Notes

(REQUIRED)


@dearchap dearchap requested a review from a team as a code owner August 25, 2024 11:23
@abennett abennett merged commit 3d76e1b into urfave:main Aug 26, 2024
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.

Ensure all exported structs are usable as "zero value"

5 participants