Skip to content

Commit

Permalink
fixup: filter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidumea committed Oct 18, 2024
1 parent bd016d4 commit 48373f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions controlplane/kubeadm/internal/filters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ func TestMatchInitOrJoinConfiguration(t *testing.T) {
},
JoinConfiguration: nil,
Files: nil,
... // 10 identical fields
... // 11 identical fields
}`))
})
t.Run("returns true if JoinConfiguration is equal", func(t *testing.T) {
Expand Down Expand Up @@ -673,7 +673,7 @@ func TestMatchInitOrJoinConfiguration(t *testing.T) {
},
Files: nil,
DiskSetup: nil,
... // 9 identical fields
... // 10 identical fields
}`))
})
t.Run("returns false if some other configurations are not equal", func(t *testing.T) {
Expand Down Expand Up @@ -734,7 +734,7 @@ func TestMatchInitOrJoinConfiguration(t *testing.T) {
+ Files: []v1beta1.File{},
DiskSetup: nil,
Mounts: nil,
... // 8 identical fields
... // 9 identical fields
}`))
})
}
Expand Down Expand Up @@ -920,7 +920,7 @@ func TestMatchesKubeadmBootstrapConfig(t *testing.T) {
},
JoinConfiguration: nil,
Files: nil,
... // 10 identical fields
... // 11 identical fields
}`))
})
t.Run("returns true if JoinConfiguration is equal", func(t *testing.T) {
Expand Down Expand Up @@ -1045,7 +1045,7 @@ func TestMatchesKubeadmBootstrapConfig(t *testing.T) {
},
Files: nil,
DiskSetup: nil,
... // 9 identical fields
... // 10 identical fields
}`))
})
t.Run("returns false if some other configurations are not equal", func(t *testing.T) {
Expand Down Expand Up @@ -1106,7 +1106,7 @@ func TestMatchesKubeadmBootstrapConfig(t *testing.T) {
+ Files: []v1beta1.File{},
DiskSetup: nil,
Mounts: nil,
... // 8 identical fields
... // 9 identical fields
}`))
})
t.Run("should match on labels and annotations", func(t *testing.T) {
Expand Down

0 comments on commit 48373f0

Please sign in to comment.