Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor errors in x/sync tests #2709

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

  • NotNil shouldn't be used for structs. As a struct can never be nil.
  • I feel like we shouldn't be calling Value before verifying HasValue.

How this works

Updates tests

How this was tested

  • CI

@StephenButtolph StephenButtolph added the testing This primarily focuses on testing label Feb 7, 2024
@StephenButtolph StephenButtolph added this to the v1.11.0 milestone Feb 7, 2024
@StephenButtolph StephenButtolph self-assigned this Feb 7, 2024
x/sync/sync_test.go Show resolved Hide resolved
@StephenButtolph StephenButtolph added this pull request to the merge queue Feb 7, 2024
Merged via the queue into master with commit c523cee Feb 7, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the fixup-sync-test-checks branch February 7, 2024 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarily focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants