Skip to content

assert: add nil pointer test cases to TestNotSame - #1936

Open
aoright wants to merge 1 commit into
stretchr:masterfrom
aoright:test/notsame-nil-pointers
Open

assert: add nil pointer test cases to TestNotSame#1936
aoright wants to merge 1 commit into
stretchr:masterfrom
aoright:test/notsame-nil-pointers

Conversation

@aoright

@aoright aoright commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • In assert/assertions_test.go::TestNotSame, add test assertions covering nil pointer comparisons (same nil type, nil vs non-nil, and different nil pointer types).

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