Skip to content

Commit c5cbb00

Browse files
committed
fix: Compiler error in unit tests, missed by CI.
1 parent b5f34e8 commit c5cbb00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/DispatchAsyncTests/DispatchGroupTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct DispatchGroupTests {
4444
let result = Result()
4545

4646
let group = DispatchGroup()
47-
await result.append(value: "|🔵\(iteration)")
47+
await result.append(value: "|🔵\(index)")
4848

4949
group.enter()
5050
Task {
@@ -67,7 +67,7 @@ struct DispatchGroupTests {
6767
await withCheckedContinuation { continuation in
6868
group.notify(queue: .main) {
6969
Task {
70-
await result.append(value: "🟢\(iteration)=")
70+
await result.append(value: "🟢\(index)=")
7171
continuation.resume()
7272
}
7373
}
@@ -115,7 +115,7 @@ struct DispatchGroupTests {
115115
/// ```
116116
///
117117
/// ```
118-
/// // BAD! (green globe comes before a purle one)
118+
/// // BAD! (green globe comes before a purple one)
119119
/// |🔵42🟣/🟣^🟢42🟣\=
120120
/// ```
121121
///

0 commit comments

Comments
 (0)