Skip to content

Commit

Permalink
Fix TestBytesMapCarrier test
Browse files Browse the repository at this point in the history
Evaluate the sorted keys.
  • Loading branch information
MrAlias committed Oct 28, 2021
1 parent 3733c18 commit 878c1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion propagation/propagators_test.go
Expand Up @@ -64,7 +64,7 @@ func TestBytesMapCarrier(t *testing.T) {

keys := carrier.Keys()
sort.Strings(keys)
assert.Equal(t, []string{"foo", "baz"}, carrier.Keys())
assert.Equal(t, []string{"baz", "foo"}, keys)
}

type outOfThinAirPropagator struct {
Expand Down

0 comments on commit 878c1c7

Please sign in to comment.