Skip to content

Commit 753d0d9

Browse files
committed
.
1 parent aba04a9 commit 753d0d9

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
@@ -663,7 +663,7 @@ mod tests {
663663
// Push a new context and see that it works
664664
let cx_guard = Context::current().with_value(ValueA(2)).attach();
665665
assert_eq!(cx_guard.cx_pos, ContextStack::MAX_POS - 1);
666-
assert_eq!(Context::current().get::<ValueA>(), Some(&ValueA(2)));
666+
assert_eq!(Context::current().get(), Some(&ValueA(2)));
667667
assert_eq!(Context::current().get(), Some(&ValueB(stack_max_pos - 2)));
668668
guards.push(cx_guard);
669669
// Let's overflow the stack a couple of times again

0 commit comments

Comments
 (0)