Skip to content

Commit

Permalink
Merge pull request #2615 from cpanato/GH-2433-4
Browse files Browse the repository at this point in the history
🏃cmd-clusterctl-api/tests: standardize gomega imports - follow up
  • Loading branch information
k8s-ci-robot authored Mar 10, 2020
2 parents a9e0495 + 46d4250 commit c1acb35
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmd/clusterctl/api/v1alpha3/provider_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ package v1alpha3

import (
"testing"

. "github.com/onsi/gomega"
)

func Test_Provider_ManifestLabel(t *testing.T) {
g := NewWithT(t)

type fields struct {
provider string
providerType ProviderType
Expand Down Expand Up @@ -85,9 +89,7 @@ func Test_Provider_ManifestLabel(t *testing.T) {
ProviderName: tt.fields.provider,
Type: string(tt.fields.providerType),
}
if got := p.ManifestLabel(); got != tt.want {
t.Errorf("got %v, want %v", got, tt.want)
}
g.Expect(p.ManifestLabel()).To(Equal(tt.want))
})
}
}

0 comments on commit c1acb35

Please sign in to comment.