Skip to content

Commit

Permalink
Test case updated
Browse files Browse the repository at this point in the history
  • Loading branch information
muzahidul-opti committed Aug 21, 2023
1 parent dd507e5 commit 7c52359
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AtomicPropertyTests: XCTestCase {

func test_atomicPropertyDeadlocks() {
let operationQueue = OperationQueue()
let expectations = (0..<80).map { id in
let expectations = (0..<80).map { id -> XCTestExpectation in
let expectation = expectation(description: "Queue Test \(id)")
operationQueue.addOperation {
self.subject.property = (self.subject.property ?? 0) + 1
Expand Down

0 comments on commit 7c52359

Please sign in to comment.