Skip to content

Commit

Permalink
Fix test comment language for consistency
Browse files Browse the repository at this point in the history
We don’t use this “will” language elsewhere.
  • Loading branch information
lawrence-forooghian committed Dec 4, 2024
1 parent e017c72 commit db9d4b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
}

Expand Down

0 comments on commit db9d4b5

Please sign in to comment.