Skip to content

Commit

Permalink
replace nil with context TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahkm committed Sep 19, 2024
1 parent a40f112 commit 485f5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/tracer/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestSpanFromContext(t *testing.T) {
span, ok := SpanFromContext(context.Background())
assert.False(ok)
assert.Nil(span)
span, ok = SpanFromContext(nil)
span, ok = SpanFromContext(context.TODO())
assert.False(ok)
assert.Nil(span)
})
Expand Down

0 comments on commit 485f5d8

Please sign in to comment.