Skip to content

push/push_test: Use t.Fatal for pointer nil checks#3562

Merged
ndyakov merged 1 commit intoredis:masterfrom
12ya:patch-2
Oct 25, 2025
Merged

push/push_test: Use t.Fatal for pointer nil checks#3562
ndyakov merged 1 commit intoredis:masterfrom
12ya:patch-2

Conversation

@12ya
Copy link
Copy Markdown
Contributor

@12ya 12ya commented Oct 24, 2025

Replaces t.Error with t.Fatal in NewRegistry and NewProcessor tests to immediately stop test execution when a nil value is encountered.

Replaces t.Error with t.Fatal in NewRegistry and NewProcessor tests to immediately stop test execution when a nil value is encountered.
Copy link
Copy Markdown
Member

@ndyakov ndyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, thank you @12ya

@ndyakov ndyakov merged commit a3a369b into redis:master Oct 25, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants