Skip to content

Update lint rules, force testify/assert for tests#220

Merged
JoTurk merged 1 commit intomasterfrom
lint/test-helpers
Apr 7, 2025
Merged

Update lint rules, force testify/assert for tests#220
JoTurk merged 1 commit intomasterfrom
lint/test-helpers

Conversation

@JoTurk
Copy link
Copy Markdown
Member

@JoTurk JoTurk commented Mar 30, 2025

Description

Use testify's assert package instead of the standard library's testing package.

Reference issue

pion/.goassets#222

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2025

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 65.28%. Comparing base (f00fc07) to head (8867eb8).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
stuntest/udp_server.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
- Coverage   65.35%   65.28%   -0.07%     
==========================================
  Files          27       27              
  Lines        2644     2639       -5     
==========================================
- Hits         1728     1723       -5     
+ Misses        907      906       -1     
- Partials        9       10       +1     
Flag Coverage Δ
go 65.25% <0.00%> (-0.11%) ⬇️
wasm 42.13% <25.00%> (+<0.01%) ⬆️

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.

@JoTurk JoTurk force-pushed the lint/test-helpers branch 2 times, most recently from 64a6e02 to 389246d Compare April 7, 2025 00:26
Use testify's assert package instead of the standard library's testing
package.
@JoTurk JoTurk force-pushed the lint/test-helpers branch from 389246d to 8867eb8 Compare April 7, 2025 00:59
@JoTurk JoTurk marked this pull request as ready for review April 7, 2025 01:00
@JoTurk JoTurk merged commit 8867eb8 into master Apr 7, 2025
24 of 25 checks passed
@JoTurk JoTurk deleted the lint/test-helpers branch April 7, 2025 01:05
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.

1 participant