Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect TestingT.Errorf usage and enable linting for this (#2182)
## Changes - Fix incorrect use Errorf on literal string. This resulted in garbage output in tests diagnostics where % was replaced by "(MISSING)". - Enable linter on testingT.Errorf. Note, the autofix by the linter is wrong, it proposes `t.Errorf("%s", string)` but it should be `t.Error(string)`. That can corrected manually though. ## Tests Linter was tested manually by reverting the fix on Errorf.
- Loading branch information