diff --git a/.travis.yml b/.travis.yml index 52efddb..d7d0448 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: go go: -- 1.11.x - 1.12.x -go_import_path: github.com/sclevine/spec +- 1.13.x script: -- env GO111MODULE=on go test ./... +- test -z $(go fmt ./...) +- go vet ./... +- go test -v ./... diff --git a/spec.go b/spec.go index 45eb790..e7ec5c0 100644 --- a/spec.go +++ b/spec.go @@ -264,7 +264,7 @@ type specHooks struct { type specHook struct { before, after []func() - next *specHook + next *specHook } func newHooks() specHooks {