Skip to content

fix: a few off by one errors in group autotests#2601

Merged
toktok-releaser merged 1 commit intoTokTok:masterfrom
JFreegman:group_test_fixes
Jan 25, 2024
Merged

fix: a few off by one errors in group autotests#2601
toktok-releaser merged 1 commit intoTokTok:masterfrom
JFreegman:group_test_fixes

Conversation

@JFreegman
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
@JFreegman JFreegman deleted the group_test_fixes branch January 25, 2024 21:31
@JFreegman
Copy link
Copy Markdown
Member Author

JFreegman commented Jan 25, 2024

@nurupo

Why are we null-terminating them?

So you can print them for debugging/progress messages.

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

Development

Successfully merging this pull request may close these issues.

3 participants