1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 15:53:34 +02:00

go-test: add -cover example (#7858)

This commit is contained in:
Nicolas Kosinski 2022-03-07 13:04:55 +01:00 committed by GitHub
parent 6c177bf48b
commit fa9cbe265b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,3 +22,7 @@
- Test the package in the current directory and run all benchmarks for 50 seconds:
`go test -v -bench . -benchtime {{50s}}`
- Test the package with coverage analysis:
`go test -cover`