Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive for t.Errorf #17

Closed
SVilgelm opened this issue Jul 21, 2022 · 1 comment
Closed

False positive for t.Errorf #17

SVilgelm opened this issue Jul 21, 2022 · 1 comment

Comments

@SVilgelm
Copy link

I tried to enable the linter with golangci-lint and it fails on the t.Errorf function, it is same as Printf, should be ignored

cond_expr_test.go:472:44: pass []any as any to func t.Errorf func(format string, args ...any) (asasalint)
                                        t.Errorf("arguments don't match: %v", arguments)
                                                                              ^
@alingse
Copy link
Owner

alingse commented Aug 20, 2022

fixed

@alingse alingse closed this as completed Aug 20, 2022
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

No branches or pull requests

2 participants