Skip to content

Add a CaptureOutput function to trap stdout and stderr

Codecov / codecov/project failed Jan 18, 2024 in 1s

90.38% (-6.43%) compared to e2333f6

View this Pull Request on Codecov

90.38% (-6.43%) compared to e2333f6

Details

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (e2333f6) 96.80% compared to head (d2584d6) 90.38%.

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

Files Patch % Lines
test.go 80.64% 8 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   96.80%   90.38%   -6.43%     
==========================================
  Files           1        1              
  Lines          94      156      +62     
==========================================
+ Hits           91      141      +50     
- Misses          2       10       +8     
- Partials        1        5       +4     

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