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

Print scope that matched the name #6

Open
quasilyte opened this issue Apr 10, 2019 · 0 comments
Open

Print scope that matched the name #6

quasilyte opened this issue Apr 10, 2019 · 0 comments

Comments

@quasilyte
Copy link
Owner

This can increase warning messages clarity.

./testdata/main_test.go:5:20: test testing.T: use t for testing.T params
./testdata/main_test.go:6:20: tst testing.T: use t for testing.T params
./testdata/main_test.go:8:24: bench testing.B: use b for testing.B params

=> could omit explanation related to "params"

./testdata/main_test.go:5:20: param test testing.T: rename to t
./testdata/main_test.go:6:20: param tst testing.T: rename to t
./testdata/main_test.go:8:24: param bench testing.B: rename to t
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

1 participant