Skip to content

Commit

Permalink
Update fixtures to work using go1.10
Browse files Browse the repository at this point in the history
In go 1.10 the `-coverpkg` flag does not load new packages, but allow
users to provide a list of patterns (see
https://golang.org/doc/go1.10#test). For this reason, we need to import
the package in the fixture.
  • Loading branch information
Andrea Nodari authored and Andrea Nodari committed Apr 4, 2018
1 parent 874520d commit e37dbfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration/_fixtures/coverage_fixture/coverage.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package coverage_fixture

import (
_ "github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/external_coverage_fixture"
)

func A() string {
return "A"
}
Expand Down

0 comments on commit e37dbfe

Please sign in to comment.