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: a few off by one errors in group autotests #2601

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

JFreegman
Copy link
Member

@JFreegman JFreegman commented Jan 25, 2024

Since we're nul terminating these buffers they need one extra byte


This change is Reviewable

Since we're nul terminating these buffers they need one extra byte
@JFreegman JFreegman added the bug Bug fix for the user, not a fix to a build script label Jan 25, 2024
@JFreegman JFreegman added this to the v0.2.19 milestone Jan 25, 2024
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5c093c4) 73.72% compared to head (203e1af) 73.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2601      +/-   ##
==========================================
- Coverage   73.72%   73.66%   -0.07%     
==========================================
  Files         148      148              
  Lines       30373    30373              
==========================================
- Hits        22394    22374      -20     
- Misses       7979     7999      +20     

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

Copy link
Member

@nurupo nurupo left a comment

Choose a reason for hiding this comment

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

Why are we null-terminating them?

Copy link
Member

@nurupo nurupo left a comment

Choose a reason for hiding this comment

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

Well, I guess it's fine sine these are tests.

@toktok-releaser toktok-releaser merged commit 203e1af into TokTok:master Jan 25, 2024
57 checks passed
@JFreegman JFreegman deleted the group_test_fixes branch January 25, 2024 21:31
@JFreegman
Copy link
Member Author

JFreegman commented Jan 25, 2024

@nurupo

Why are we null-terminating them?

So you can print them for debugging/progress messages.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug fix for the user, not a fix to a build script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants