diff options
| author | Felix Hanley <felix@userspace.com.au> | 2019-03-13 14:04:58 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@userspace.com.au> | 2019-03-13 14:04:58 +0000 |
| commit | 1d13d80d5ac26e78322d6b09ac524018817ae10a (patch) | |
| tree | 8a9c1513b621e92c14159196171525f8ffb2950d | |
| parent | 66362f48e4bbae266fcbaebdbfb34d1aa878c6bf (diff) | |
| download | lexer-1d13d80d5ac26e78322d6b09ac524018817ae10a.tar.gz lexer-1d13d80d5ac26e78322d6b09ac524018817ae10a.tar.bz2 | |
Add race test and exclude tests!?
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | lexer_test.go | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgs := $(shell go list ./...) .PHONY: test test: lint ## Run tests with coverage - go test -short -cover -coverprofile coverage.out $(pkgs) + go test -race -short -cover -coverprofile coverage.out $(pkgs) go tool cover -html=coverage.out -o coverage.html .PHONY: lint diff --git a/lexer_test.go b/lexer_test.go index 1795f7b..798cb3a 100644 --- a/lexer_test.go +++ b/lexer_test.go @@ -1,3 +1,5 @@ +// +build !race + package lexer import ( |
