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

Colourise diffs in test.File #43

Merged
merged 2 commits into from
Oct 5, 2024
Merged

Colourise diffs in test.File #43

merged 2 commits into from
Oct 5, 2024

Conversation

FollowTheProcess
Copy link
Owner

@FollowTheProcess FollowTheProcess commented Oct 5, 2024

Summary

Does rudimentary colourisation in the diff produced by test.File to make it easier to parse, this does not respect $NO_COLOR or $FORCE_COLOR

Now looks like this:

image

@FollowTheProcess FollowTheProcess added the feature New feature or request label Oct 5, 2024
Copy link

codecov bot commented Oct 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 86.77%. Comparing base (4464136) to head (5b27546).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
test.go 0.00% 12 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   90.90%   86.77%   -4.14%     
==========================================
  Files           1        1              
  Lines         231      242      +11     
==========================================
  Hits          210      210              
- Misses         11       22      +11     
  Partials       10       10              

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

@FollowTheProcess FollowTheProcess merged commit 597eb1e into main Oct 5, 2024
7 of 9 checks passed
@FollowTheProcess FollowTheProcess deleted the feat/colour-diffs branch October 5, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant