We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f6de1 commit b8405e1Copy full SHA for b8405e1
Makefile
@@ -80,7 +80,7 @@ coverage: ## Run the tests of the project and export the coverage
80
&& cat coverage.cov.tmp | grep -v "/examples/" > coverage.cov
81
82
bench: ## Launch the benchmark test
83
- $(GOTEST) -bench Benchmark -cpu 2 -run=^$$
+ $(GOTEST) -tags=bench -bench Benchmark -cpu 2 -run=^$$
84
85
## Lint:
86
lint: ## Use golintci-lint on your project
feature_flag_bench_test.go
@@ -1,3 +1,6 @@
1
+//go:build bench
2
+// +build bench
3
+
4
package ffclient_test
5
6
import (
0 commit comments