air-verse / air

☁️ Live reload for Go apps
GNU General Public License v3.0
18.29k stars 815 forks source link

refactor: simplify test asserts; enable testifylint #680

Closed alexandear closed 2 weeks ago

alexandear commented 2 weeks ago

The PR refactors tests by simplifying asserts: swap actual-expected parameters, use assert.True, assert.False, require.Error etc. Additionally, enables testifylint to suggests these in a future.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

see 12 files with indirect coverage changes