Skip to content

Commit

Permalink
Merge pull request #4093 from k0sproject/backport-4080-to-release-1.29
Browse files Browse the repository at this point in the history
[Backport release-1.29] Fix availableComponents unit test
  • Loading branch information
twz123 authored Feb 20, 2024
2 parents 22f390a + 021cedb commit 0311b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestAvailableComponents_SortedAndUnique(t *testing.T) {

assert.Equal(t, expected, availableComponents, "Available components aren't sorted")

slices.Compact(expected)
expected = slices.Compact(expected)
assert.Equal(t, expected, availableComponents, "Available components contain duplicates")
}

Expand Down

0 comments on commit 0311b7c

Please sign in to comment.