Added tests for listitems
This commit is contained in:
parent
2c12797111
commit
f7bc88c825
6 changed files with 92 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -54,7 +54,7 @@ clean:
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -cover $(PACKAGES)
|
||||
go test -cover -coverprofile cover.out $(PACKAGES)
|
||||
|
||||
required-gofmt-version:
|
||||
@go version | grep -q '\(1.7\|1.8\|1.9\|1.10\)' || { echo "We require go version 1.7, 1.8, 1.9 or 1.10 to format code" >&2 && exit 1; }
|
||||
|
|
|
|||
Reference in a new issue