Skip to content

Commit

Permalink
More linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdjackson committed Dec 9, 2024
1 parent 3d944d3 commit c56f50f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/CrashesTests/CrashCollectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class CrashCollectionTests: XCTestCase {
crashReportSender.responseCRCID = responseCRCIDValue
let crashCollection = CrashCollection(crashReportSender: crashReportSender, crashCollectionStorage: store)
let expectation = self.expectation(description: "Crash collection response")

// Set up closures on our CrashCollection object
crashCollection.start(process: {_ in
return ["fake-crash-data".data(using: .utf8)!] // Not relevant to this test
Expand All @@ -84,12 +84,12 @@ class CrashCollectionTests: XCTestCase {
MXCrashDiagnostic()
])
])

self.wait(for: [expectation], timeout: 3)

XCTAssertEqual(store.object(forKey: CRCIDManager.crcidKey) as? String, responseCRCIDValue)
}

func testCRCIDIsClearedWhenServerReturnsSuccessWithNoCRCID()
{
let store = MockKeyValueStore()
Expand Down

0 comments on commit c56f50f

Please sign in to comment.