From 9f80641c4ca2b23ee254170e164556cf91e4ef07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emir=20Ribi=C4=87?= Date: Sun, 19 May 2024 07:26:08 +0200 Subject: [PATCH] remove slices usage --- tracing_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tracing_test.go b/tracing_test.go index e5aaad7fa..42f5ba8e1 100644 --- a/tracing_test.go +++ b/tracing_test.go @@ -10,7 +10,6 @@ import ( "math" "net/http" "reflect" - "slices" "strings" "sync" "testing" @@ -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, ",")) }) }