Skip to content

Commit cc52ba2

Browse files
committed
Use slices.Sort instead of sort.Strings
Co-authored-by: Isaac
1 parent 6be5752 commit cc52ba2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

acceptance/invariant_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package acceptance_test
33
import (
44
"os"
55
"path/filepath"
6-
"sort"
6+
"slices"
77
"strings"
88
"testing"
99

@@ -56,7 +56,7 @@ func TestInvariantConfigsCoverage(t *testing.T) {
5656
for key := range config.ResourcesTypes {
5757
keys = append(keys, key)
5858
}
59-
sort.Strings(keys)
59+
slices.Sort(keys)
6060

6161
for _, key := range keys {
6262
var covered bool

0 commit comments

Comments
 (0)