Skip to content

Commit aba04a9

Browse files
committed
.
1 parent 012d213 commit aba04a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry/src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ mod tests {
670670
for _ in 0..16 {
671671
let cx_guard = Context::current().with_value(ValueA(1)).attach();
672672
assert_eq!(cx_guard.cx_pos, ContextStack::MAX_POS);
673-
assert_eq!(Context::current().get::<ValueA>(), Some(&ValueA(2)));
673+
assert_eq!(Context::current().get(), Some(&ValueA(2)));
674674
assert_eq!(Context::current().get(), Some(&ValueB(stack_max_pos - 2)));
675675
guards.push(cx_guard);
676676
}

0 commit comments

Comments
 (0)