diff --git a/Tests/SentryTests/Integrations/Breadcrumbs/SentryBreadcrumbTrackerTests.swift b/Tests/SentryTests/Integrations/Breadcrumbs/SentryBreadcrumbTrackerTests.swift index ff87d0aad6d..1f83c2bc22c 100644 --- a/Tests/SentryTests/Integrations/Breadcrumbs/SentryBreadcrumbTrackerTests.swift +++ b/Tests/SentryTests/Integrations/Breadcrumbs/SentryBreadcrumbTrackerTests.swift @@ -48,8 +48,8 @@ class SentryBreadcrumbTrackerTests: XCTestCase { let crumbs = delegate.addCrumbInvocations.invocations // one breadcrumb for starting the tracker, and a second one for the swizzled viewDidAppear - guard crumbs.count == 2 else { - XCTFail("Expected exactly 2 breadcrumbs") + guard crumbs.count == 3 else { + XCTFail("Expected exactly 2 breadcrumbs, got: \(crumbs)") return }