Skip to content

certdb/sql: remove uses of github.com/stretchr/testify/require#1256

Merged
nickysemenza merged 1 commit intocloudflare:masterfrom
thaJeztah:remove_testify
Aug 1, 2023
Merged

certdb/sql: remove uses of github.com/stretchr/testify/require#1256
nickysemenza merged 1 commit intocloudflare:masterfrom
thaJeztah:remove_testify

Conversation

@thaJeztah
Copy link
Copy Markdown
Contributor

@thaJeztah thaJeztah commented Nov 20, 2022

This was the only location where this assertion library was used; all
other code in this repository used Go's stdlib for assertions. The
remaining uses in this package could be replaced without too much
trouble, which allowed for the dependency (including its indirect
dependencies) to be removed altogether.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 20, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.92%. Comparing base (f0549e3) to head (8d25f25).
⚠️ Report is 83 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1256   +/-   ##
=======================================
  Coverage   52.92%   52.92%           
=======================================
  Files          76       76           
  Lines        9169     9169           
=======================================
  Hits         4853     4853           
  Misses       3843     3843           
  Partials      473      473           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@thaJeztah thaJeztah force-pushed the remove_testify branch 2 times, most recently from a7b6cee to 0d86015 Compare November 21, 2022 22:31
@thaJeztah thaJeztah marked this pull request as ready for review November 21, 2022 22:31
@thaJeztah
Copy link
Copy Markdown
Contributor Author

Rebased; this one should be ready for review as well, @nickysemenza (thanks for reviewing the other ones!)

@thaJeztah
Copy link
Copy Markdown
Contributor Author

@nickysemenza gentle nudge 🤗

This was the only location where this assertion library was used; all
other code in this repository used Go's stdlib for assertions. The
remaining uses in this package could be replaced without too much
trouble, which allowed for the dependency (including its indirect
dependencies) to be removed altogether.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Contributor Author

@nickysemenza PTAL 😅

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.

3 participants