From 02f27442558b7d8a89c50d8eeb8a4620eba44723 Mon Sep 17 00:00:00 2001 From: Vera Reynolds Date: Wed, 26 Oct 2022 13:25:41 -0400 Subject: [PATCH] fix baggage test https://github.com/open-telemetry/opentelemetry-go/pull/3226 fixed the behavior of baggage.NewMember to be W3C compliant, which now decodes the value --- baggage_span_processor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baggage_span_processor_test.go b/baggage_span_processor_test.go index fc7193e..9a6e61c 100644 --- a/baggage_span_processor_test.go +++ b/baggage_span_processor_test.go @@ -68,6 +68,6 @@ func TestBaggageSpanProcessorAppendsBaggageAttributes(t *testing.T) { for _, attr := range exporter.spans[0].Attributes() { assert.Equal(t, attribute.Key("baggage.test"), attr.Key) - assert.Equal(t, url.QueryEscape("baggage value"), attr.Value.AsString()) + assert.Equal(t, "baggage value", attr.Value.AsString()) } }