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

Clean up: simplify asserts #34111

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Conversation

apfitzge
Copy link
Contributor

Problem

Noticed some weird usage of .err() to compare against Some(ErrorKind) in some of the tests while reviewing #34078

Summary of Changes

Just compare agains Err(ErrorKind)

Fixes #

@apfitzge apfitzge marked this pull request as ready for review November 16, 2023 16:11
@apfitzge apfitzge requested a review from jstarry November 16, 2023 16:11
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

Merging #34111 (4baf531) into master (60fdd85) will decrease coverage by 0.1%.
Report is 1 commits behind head on master.
The diff coverage is 100.0%.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #34111     +/-   ##
=========================================
- Coverage    81.9%    81.9%   -0.1%     
=========================================
  Files         816      816             
  Lines      219751   219751             
=========================================
- Hits       180027   180023      -4     
- Misses      39724    39728      +4     

@apfitzge apfitzge merged commit eb35a5a into solana-labs:master Nov 17, 2023
32 checks passed
@apfitzge apfitzge deleted the assert_clean_up branch November 17, 2023 01:46
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