Skip to content

Commit b8405e1

Browse files
chore: scope test bench (#2495)
1 parent 70f6de1 commit b8405e1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ coverage: ## Run the tests of the project and export the coverage
8080
&& cat coverage.cov.tmp | grep -v "/examples/" > coverage.cov
8181

8282
bench: ## Launch the benchmark test
83-
$(GOTEST) -bench Benchmark -cpu 2 -run=^$$
83+
$(GOTEST) -tags=bench -bench Benchmark -cpu 2 -run=^$$
8484

8585
## Lint:
8686
lint: ## Use golintci-lint on your project

feature_flag_bench_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build bench
2+
// +build bench
3+
14
package ffclient_test
25

36
import (

0 commit comments

Comments
 (0)