Skip to content

test: add TestID_IsZero and improve doc comments - #119

Merged
rs merged 1 commit into
rs:masterfrom
aoright:test/add-is-zero-tests-and-doc-fixes
Sep 7, 2026
Merged

rs merged 1 commit into
rs:masterfrom
aoright:test/add-is-zero-tests-and-doc-fixes

Conversation

@aoright

@aoright aoright commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • In id_test.go, add unit test TestID_IsZero covering ID.IsZero() for non-zero IDs, zero IDs, and NilID() return value.
  • Improve and format doc comments in id.go (IsNil, IsZero, and package comment typo need set -> need to set).

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
@rs
rs merged commit 7ef23f5 into rs:master Sep 7, 2026
6 of 8 checks passed
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