You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/dd-sdk-android-trace/src/test/kotlin/com/datadog/android/trace/internal/DatadogTraceIdAdapterTest.kt
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ class DatadogTraceIdAdapterTest {
41
41
@IntForgery
42
42
privatevar fakeInt =0
43
43
44
-
@LongForgery
44
+
@LongForgery(min =0)
45
45
privatevar fakeLong =0L
46
46
47
47
@BeforeEach
@@ -101,12 +101,13 @@ class DatadogTraceIdAdapterTest {
101
101
fun`M return expected W fromHex(String)`() {
102
102
// Given
103
103
val stringTraceId = fakeLong.toString()
104
+
val expected =DatadogTraceIdAdapter(DDTraceId.fromHex(stringTraceId))
0 commit comments