more tests, some refactoring

This commit is contained in:
Mike Farah
2020-01-09 08:17:56 +11:00
parent 38d35185bc
commit 52eef67e37
11 changed files with 215 additions and 555 deletions

View File

@@ -2,5 +2,5 @@
set -e
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o cover/coverage.html
go test -coverprofile=coverage.out -v $(go list ./... | grep -v -E 'examples' | grep -v -E 'test')
go tool cover -html=coverage.out -o coverage.html

View File

@@ -1,3 +1,3 @@
#!/bin/bash
go test -v $(go list ./... | grep -v -E 'examples')
go test -v $(go list ./... | grep -v -E 'examples' | grep -v -E 'test')