Skip to content

Commit 1aa2e29

Browse files
committed
WIP
1 parent ba684e7 commit 1aa2e29

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Tests/Tests/TestUtils.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func introspection<Entity: AnyObject & Sendable>(
5151
) -> some View
5252
) async throws -> Entity {
5353
var entity1: Entity?
54-
return try await confirmation(expectedCount: 1...) { confirmation1 in
54+
return try await confirmation(expectedCount: 1...3) { confirmation1 in
5555
let view = view(
5656
{
5757
confirmation1()
@@ -80,8 +80,8 @@ func introspection<Entity: AnyObject & Sendable>(
8080
) async throws -> (Entity, Entity) {
8181
var entity1: Entity?
8282
var entity2: Entity?
83-
return try await confirmation(expectedCount: 1...) { confirmation1 in
84-
try await confirmation(expectedCount: 1...) { confirmation2 in
83+
return try await confirmation(expectedCount: 1...3) { confirmation1 in
84+
try await confirmation(expectedCount: 1...3) { confirmation2 in
8585
let view = view(
8686
{
8787
confirmation1()
@@ -123,9 +123,9 @@ func introspection<Entity: AnyObject & Sendable>(
123123
var entity1: Entity?
124124
var entity2: Entity?
125125
var entity3: Entity?
126-
return try await confirmation(expectedCount: 1...) { confirmation1 in
127-
try await confirmation(expectedCount: 1...) { confirmation2 in
128-
try await confirmation(expectedCount: 1...) { confirmation3 in
126+
return try await confirmation(expectedCount: 1...3) { confirmation1 in
127+
try await confirmation(expectedCount: 1...3) { confirmation2 in
128+
try await confirmation(expectedCount: 1...3) { confirmation3 in
129129
let view = view(
130130
{
131131
confirmation1()
@@ -176,10 +176,10 @@ func introspection<Entity: AnyObject & Sendable>(
176176
var entity2: Entity?
177177
var entity3: Entity?
178178
var entity4: Entity?
179-
return try await confirmation(expectedCount: 1...) { confirmation1 in
180-
try await confirmation(expectedCount: 1...) { confirmation2 in
181-
try await confirmation(expectedCount: 1...) { confirmation3 in
182-
try await confirmation(expectedCount: 1...) { confirmation4 in
179+
return try await confirmation(expectedCount: 1...3) { confirmation1 in
180+
try await confirmation(expectedCount: 1...3) { confirmation2 in
181+
try await confirmation(expectedCount: 1...3) { confirmation3 in
182+
try await confirmation(expectedCount: 1...3) { confirmation4 in
183183
let view = view(
184184
{
185185
confirmation1()

0 commit comments

Comments
 (0)