From db9d4b50f23b70a89c473da6ca08dad536975233 Mon Sep 17 00:00:00 2001 From: Lawrence Forooghian Date: Wed, 4 Dec 2024 11:22:40 -0300 Subject: [PATCH] Fix test comment language for consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don’t use this “will” language elsewhere. --- Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift b/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift index 3d1dedc8..438aa050 100644 --- a/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift +++ b/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift @@ -488,8 +488,8 @@ struct DefaultRoomLifecycleManagerTests { // Then: // - // - the lifecycle manager will call `detach` on contributors 0 and 2 - // - the lifecycle manager will not call `detach` on contributor 1 + // - the lifecycle manager calls `detach` on contributors 0 and 2 + // - the lifecycle manager does not call `detach` on contributor 1 #expect(await contributors[0].channel.detachCallCount > 0) #expect(await contributors[2].channel.detachCallCount > 0) #expect(await contributors[1].channel.detachCallCount == 0) @@ -528,7 +528,7 @@ struct DefaultRoomLifecycleManagerTests { // When: `performAttachOperation()` is called on the lifecycle manager try? await manager.performAttachOperation() - // Then: the lifecycle manager will call `detach` twice on contributor 0 (i.e. it will retry the failed detach) + // Then: the lifecycle manager calls `detach` twice on contributor 0 (i.e. it retries the failed detach) #expect(await contributors[0].channel.detachCallCount == 2) }