diff --git a/Makefile b/Makefile index 5ba4679..0dd4e3f 100755 --- a/Makefile +++ b/Makefile @@ -21,9 +21,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: