Skip to content

Commit a55669c

Browse files
committed
follow pattern from working tests
1 parent 6accb2c commit a55669c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Hosting/Hosting/test/HostingApplicationDiagnosticsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ public void ActivityTraceParentAndTraceStateFromHeaders()
928928
Headers = new HeaderDictionary()
929929
{
930930
{"traceparent", "00-0123456789abcdef0123456789abcdef-0123456789abcdef-01"},
931-
{"tracestate", "TraceState=1"},
931+
{"tracestate", "tracestate=1"},
932932
{"baggage", "Key1=value1, Key2=value2"}
933933
}
934934
});
@@ -937,7 +937,7 @@ public void ActivityTraceParentAndTraceStateFromHeaders()
937937
Assert.Equal(ActivityIdFormat.W3C, Activity.Current.IdFormat);
938938
Assert.Equal("0123456789abcdef0123456789abcdef", Activity.Current.TraceId.ToHexString());
939939
Assert.Equal("0123456789abcdef", Activity.Current.ParentSpanId.ToHexString());
940-
Assert.Equal("TraceState=1", Activity.Current.TraceStateString);
940+
Assert.Equal("tracestate=1", Activity.Current.TraceStateString);
941941

942942
Assert.Contains(Activity.Current.Baggage, pair => pair.Key == "Key1" && pair.Value == "value1");
943943
Assert.Contains(Activity.Current.Baggage, pair => pair.Key == "Key2" && pair.Value == "value2");

0 commit comments

Comments
 (0)