Skip to content

Conversation

@NathanBaulch
Copy link
Contributor

Made some minor tweaks to the unit tests based on recommendations from the testifylint golangci-lint linter.
The most common issue was reversed expected and actual arguments, which can cause confusing failure messages.

@codecov
Copy link

codecov bot commented Sep 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.49%. Comparing base (ba60e47) to head (7ca5ae5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #669   +/-   ##
=======================================
  Coverage   94.49%   94.49%           
=======================================
  Files          18       18           
  Lines        3306     3306           
=======================================
  Hits         3124     3124           
  Misses        170      170           
  Partials       12       12           
Flag Coverage Δ
unittests 94.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@samber samber merged commit 76b76a7 into samber:master Sep 19, 2025
11 checks passed
@samber
Copy link
Owner

samber commented Sep 19, 2025

Thanks !

I'm going to add a golangci-lint config soon.

@NathanBaulch NathanBaulch deleted the testifylint branch September 19, 2025 22:50
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.

2 participants