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

feat: Adds message to assert_buffer_eq! #849

Closed
wants to merge 1 commit into from

Conversation

kdheepak
Copy link
Collaborator

@kdheepak kdheepak commented Jan 19, 2024

Makes it easier for debugging.

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2819eea) 92.4% compared to head (9f1b8c9) 91.0%.

Additional details and impacted files
@@           Coverage Diff           @@
##            main    #849     +/-   ##
=======================================
- Coverage   92.4%   91.0%   -1.5%     
=======================================
  Files         61      61             
  Lines      16262   16262             
=======================================
- Hits       15042   14809    -233     
- Misses      1220    1453    +233     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines -49 to +52
assert_eq!(actual, expected, "buffers not equal");
assert_eq!(actual, expected, $message);
Copy link
Member

Choose a reason for hiding this comment

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

This is just the fall through case (in case we didn't already fail for not equal buffers). The main failures will occur on lines 10 and 35.

@EdJoPaTo
Copy link
Member

I close this in favor of #1007

@EdJoPaTo EdJoPaTo closed this May 12, 2024
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.

None yet

3 participants