Skip to content

Commit

Permalink
ignore dot imports in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hebelsan committed Jan 3, 2024
1 parent 8bb7eda commit e19d6f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pkg/supply/supply_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package supply_test

import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"

"testing"
)

func TestSupply(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Supply Suite")
gomega.RegisterFailHandler(ginkgo.Fail)
ginkgo.RunSpecs(t, "Supply Suite")
}
4 changes: 2 additions & 2 deletions pkg/supply/supply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"code.cloudfoundry.org/buildpackapplifecycle/buildpackrunner/resources"
"github.com/cloudfoundry/libbuildpack"
"github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/onsi/ginkgo" //nolint
. "github.com/onsi/gomega" //nolint
"github.com/open-policy-agent/opa/config"
"github.com/open-policy-agent/opa/plugins/bundle"
"github.com/open-policy-agent/opa/plugins/rest"
Expand Down

0 comments on commit e19d6f1

Please sign in to comment.