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

test: test for NULL string in string_append_char #244

Merged
merged 3 commits into from
Aug 31, 2022

Conversation

aloisklink
Copy link
Contributor

Adds a test case for string_append_char when the input string is null.

@codecov
Copy link

codecov bot commented Aug 26, 2022

Codecov Report

Merging #244 (8240aa4) into main (75dac55) will increase coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head 8240aa4 differs from pull request most recent head c17e850. Consider uploading reports for the commit c17e850 to get more accurate results

@@            Coverage Diff             @@
##             main     #244      +/-   ##
==========================================
+ Coverage   45.61%   45.63%   +0.02%     
==========================================
  Files         107      107              
  Lines       14951    14953       +2     
==========================================
+ Hits         6820     6824       +4     
+ Misses       8131     8129       -2     
Impacted Files Coverage Δ
tests/utils/test_os.c 98.03% <100.00%> (+0.01%) ⬆️
src/utils/os.c 40.25% <0.00%> (+0.25%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link

@AshleySetter AshleySetter left a comment

Choose a reason for hiding this comment

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

👍

@aloisklink aloisklink merged commit af591bc into main Aug 31, 2022
@aloisklink aloisklink deleted the test-string-append-char branch August 31, 2022 16:37
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

2 participants