diff --git a/constraints/constraints_test.go b/constraints/constraints_test.go index 3f7b84396ff..9e59e6f751f 100644 --- a/constraints/constraints_test.go +++ b/constraints/constraints_test.go @@ -7,7 +7,6 @@ import ( "encoding/json" "fmt" "strings" - "testing" jc "github.com/juju/testing/checkers" gc "gopkg.in/check.v1" @@ -17,10 +16,6 @@ import ( "github.com/juju/juju/instance" ) -func TestPackage(t *testing.T) { - gc.TestingT(t) -} - type ConstraintsSuite struct{} var _ = gc.Suite(&ConstraintsSuite{}) diff --git a/constraints/package_test.go b/constraints/package_test.go new file mode 100644 index 00000000000..de168734bb3 --- /dev/null +++ b/constraints/package_test.go @@ -0,0 +1,14 @@ +// Copyright 2016 Canonical Ltd. +// Licensed under the AGPLv3, see LICENCE file for details. + +package constraints_test + +import ( + "testing" + + gc "gopkg.in/check.v1" +) + +func TestPackage(t *testing.T) { + gc.TestingT(t) +}