Skip to content

Commit

Permalink
remove slices usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ribice committed May 19, 2024
1 parent a80ca31 commit 9f80641
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tracing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"math"
"net/http"
"reflect"
"slices"
"strings"
"sync"
"testing"
Expand Down Expand Up @@ -527,7 +526,7 @@ func TestGetBaggageHeader(t *testing.T) {
t.Run(name, func(t *testing.T) {
result := GetBaggageHeader(tt.scope)
res := strings.Split(result, ",")
slices.Sort(res)
sortSlice(res)
assertEqual(t, tt.expected, strings.Join(res, ","))
})
}
Expand Down

0 comments on commit 9f80641

Please sign in to comment.