File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
flutter/test/user_interaction Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,8 @@ class Sentry {
391391 /// automatically when the returned future completes.
392392 ///
393393 /// The span is set as the active span within the [callback] 's scope via
394- /// zones, so any nested [startSpan] calls will automatically parent to it.
394+ /// zones, so any nested [startSpan] or [startSpanSync] calls will
395+ /// automatically parent to it.
395396 ///
396397 /// If the [callback] throws or the returned future completes with an error,
397398 /// the span's status is set to [SentrySpanStatusV2.error] before ending.
Original file line number Diff line number Diff line change @@ -658,7 +658,7 @@ void main() {
658658 expect (firstSpan, isA <IdleRecordingSentrySpanV2 >());
659659
660660 // Simulate descendant activity by starting a child span
661- fixture.hub.startSpanSync ('child-work' , (span ) {});
661+ fixture.hub.startSpanSync ('child-work' , (_ ) {});
662662
663663 await Future <void >.delayed (Duration .zero);
664664 // Tap a different widget
You can’t perform that action at this time.
0 commit comments