Skip to content

Commit

Permalink
Merge branch 'main' into actuated
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyuancheung committed Mar 2, 2024
2 parents db2ca20 + a7034da commit 3e4c50c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions baggage/baggage_test.go
Expand Up @@ -6,7 +6,7 @@ package baggage
import (
"fmt"
"math/rand"
"sort"
"slices"
"strings"
"testing"

Expand Down Expand Up @@ -611,11 +611,11 @@ func TestBaggageString(t *testing.T) {
for i, m := range members {
parts := strings.Split(m, propertyDelimiter)
if len(parts) > 1 {
sort.Strings(parts[1:])
slices.Sort(parts[1:])
members[i] = strings.Join(parts, propertyDelimiter)
}
}
sort.Strings(members)
slices.Sort(members)
return strings.Join(members, listDelimiter)
}

Expand Down

0 comments on commit 3e4c50c

Please sign in to comment.