diff --git a/Makefile b/Makefile index bf57a03..561a804 100755 --- a/Makefile +++ b/Makefile @@ -22,9 +22,10 @@ imports: @goimports -w . # Run Unit Test with go test +test: GOFLAGS ?= "-count=1" test: @echo "⇒ Running go test" - @go test ./... -count=1 + @GOFLAGS="$(GOFLAGS)" go test ./... # Activate pre-commit hooks pre-commit: