We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6850388 commit 791ba43Copy full SHA for 791ba43
test/Sentry.Tests/Protocol/Context/TraceTests.cs
@@ -85,4 +85,15 @@ public void Clone_CopyValues()
85
Assert.Equal(trace.SpanId, clone.SpanId);
86
Assert.Equal(trace.TraceId, clone.TraceId);
87
}
88
+
89
+ [Fact]
90
+ public void SpanId_LeadingZero_ToStringValid()
91
+ {
92
+ // Arrange
93
+ const string spanIdInput = "0ecd6f15f72015cb";
94
+ var spanId = new SpanId(spanIdInput);
95
96
+ // Assert
97
+ Assert.Equal(spanIdInput, spanId.ToString());
98
+ }
99
0 commit comments