From e81af1f2c72851fcc16a652901ba5a38986089ce Mon Sep 17 00:00:00 2001 From: Jeff Tung <100387939+jtung-apple@users.noreply.github.com> Date: Fri, 26 Apr 2024 10:39:39 -0700 Subject: [PATCH] Update src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m Co-authored-by: Boris Zbarsky --- src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m b/src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m index 874251cbaf37bd..45a25afd600859 100644 --- a/src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m +++ b/src/darwin/Framework/CHIPTests/MTRAsyncWorkQueueTests.m @@ -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) {