From ec8e6ea61fa0815f7938ff947d884802c188ffb8 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Wed, 28 Feb 2024 23:36:03 -0800 Subject: [PATCH] Use slices.Sort in propagators test instead of sort.Slice (#4991) --- propagation/propagation_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/propagation/propagation_test.go b/propagation/propagation_test.go index 097619c7d..9a807e1e0 100644 --- a/propagation/propagation_test.go +++ b/propagation/propagation_test.go @@ -5,7 +5,7 @@ package propagation_test import ( "context" - "sort" + "slices" "strings" "testing" @@ -119,6 +119,6 @@ func TestMapCarrierKeys(t *testing.T) { } keys := carrier.Keys() - sort.Strings(keys) + slices.Sort(keys) assert.Equal(t, []string{"baz", "foo"}, keys) }