Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
  • Loading branch information
andylokandy committed Jan 24, 2024
1 parent 6930bbf commit 4104b88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test-statically-disable/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ fn main() {
let local_collector = LocalCollector::start();
let _ = LocalSpan::enter_with_local_parent("span3");
let local_spans = local_collector.collect();
assert_eq!(local_spans.to_span_records(SpanContext::random()), vec![]);

let span3 = Span::enter_with_parent("span3", &root);
let span4 = Span::enter_with_local_parent("span4");
Expand Down

0 comments on commit 4104b88

Please sign in to comment.