Skip to content

Commit

Permalink
Update src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
jtung-apple and bzbarsky-apple authored Apr 26, 2024
1 parent eb723de commit e81af1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ - (void)testItemsConcurrently
workItem3.readyHandler = sleep1ReadyHandler;
[workQueue enqueueWorkItem:workItem3 descriptionWithFormat:@"work item %d", 3];

// This is the item after the first 3, and should onl execute when one of them finished
// This is the item after the first 3, and should only execute when one of them finished
XCTestExpectation * lastWorkItemWaitedExpectation = [self expectationWithDescription:@"Last work item waited properly"];
MTRAsyncWorkItem * workItemLast = [[MTRAsyncWorkItem alloc] initWithQueue:dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0)];
workItemLast.readyHandler = ^(id context, NSInteger retryCount, MTRAsyncWorkCompletionBlock completion) {
Expand Down

0 comments on commit e81af1f

Please sign in to comment.