Skip to content
This repository was archived by the owner on May 9, 2021. It is now read-only.

Let Golint ignore a function whose name starts "Benchmark" when it checks function declarations. #44

Closed
wants to merge 1 commit into from

Conversation

yosssi
Copy link
Contributor

@yosssi yosssi commented Jun 12, 2014

Let Golint ignore a function whose name starts "Benchmark" when it checks function declarations.

This fix allows us to name a function such as "BenchmarkT_M".

http://golang.org/cmd/go/#hdr-Description_of_testing_functions

@dsymonds
Copy link
Contributor

Looks fine. Please sign the CLA so we can accept your contribution.
https://developers.google.com/open-source/cla/individual

@yosssi
Copy link
Contributor Author

yosssi commented Jun 13, 2014

Thanks for your review. I signed the CLA.

@dsymonds dsymonds closed this in ac6833c Jun 13, 2014
@yosssi yosssi deleted the benchmark branch June 13, 2014 03:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants