Skip to content

Commit 4a9a91b

Browse files
committed
Yet more formatting...
1 parent a3097cb commit 4a9a91b

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let availabilityMacros: [SwiftSetting] = [
99
),
1010
.enableExperimentalFeature(
1111
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
12-
)
12+
),
1313
]
1414

1515
let package = Package(
@@ -59,7 +59,7 @@ let package = Package(
5959
.android,
6060
.linux,
6161
.openbsd,
62-
.wasi
62+
.wasi,
6363
])
6464
),
6565
.target(
@@ -74,14 +74,14 @@ let package = Package(
7474
.android,
7575
.linux,
7676
.openbsd,
77-
.wasi
77+
.wasi,
7878
])
7979
)
8080
],
8181
swiftSettings: availabilityMacros + [
8282
.enableExperimentalFeature("StrictConcurrency=complete")
8383
]
84-
)
84+
),
8585
]
8686
)
8787

[email protected]

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ let package = Package(
6161
.android,
6262
.linux,
6363
.openbsd,
64-
.wasi
64+
.wasi,
6565
])
6666
),
6767
.target(
@@ -76,9 +76,9 @@ let package = Package(
7676
.android,
7777
.linux,
7878
.openbsd,
79-
.wasi
79+
.wasi,
8080
])
81-
)
81+
),
8282
],
8383
swiftSettings: availabilityMacros + [
8484
.enableExperimentalFeature("StrictConcurrency=complete")

Tests/AsyncAlgorithmsTests/TestBuffer.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ final class TestBuffer: XCTestCase {
108108
XCTAssertNil(pastFailure)
109109
}
110110

111-
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
111+
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
112112
func test_given_a_base_sequence_when_bufferingOldest_then_the_policy_is_applied() async {
113113
validate {
114114
"X-12- 34- 5 |"
@@ -172,7 +172,7 @@ final class TestBuffer: XCTestCase {
172172
"X,,,,,,[45^]"
173173
}
174174
}
175-
#endif
175+
#endif
176176

177177
func
178178
test_given_a_buffered_with_unbounded_sequence_when_cancelling_consumer_then_the_iteration_finishes_and_the_base_is_cancelled()
@@ -327,13 +327,13 @@ final class TestBuffer: XCTestCase {
327327
await fulfillment(of: [finished], timeout: 1.0)
328328
}
329329

330-
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
330+
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
331331
func test_given_a_base_sequence_when_bounded_with_limit_0_then_the_policy_is_transparent() async {
332332
validate {
333333
"X-12- 34 -5|"
334334
$0.inputs[0].buffer(policy: .bounded(0))
335335
"X-12- 34 -5|"
336336
}
337337
}
338-
#endif
338+
#endif
339339
}

Tests/AsyncAlgorithmsTests/TestChunk.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,4 @@ final class TestChunk: XCTestCase {
338338
}
339339
}
340340

341-
#endif
341+
#endif

Tests/AsyncAlgorithmsTests/TestDebounce.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import XCTest
1313
import AsyncAlgorithms
1414

1515
final class TestDebounce: XCTestCase {
16-
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
16+
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
1717
func test_delayingValues() throws {
1818
guard #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) else {
1919
throw XCTSkip("Skipped due to Clock/Instant/Duration availability")
@@ -68,7 +68,7 @@ final class TestDebounce: XCTestCase {
6868
"----|"
6969
}
7070
}
71-
#endif
71+
#endif
7272

7373
func test_Rethrows() async throws {
7474
guard #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) else {

Tests/AsyncAlgorithmsTests/TestMerge.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ final class TestMerge2: XCTestCase {
170170
XCTAssertEqual(collected.intersection(expected), expected)
171171
}
172172

173-
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
173+
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
174174
func test_merge_makes_sequence_with_ordered_elements_when_sources_follow_a_timeline() {
175175
validate {
176176
"a-c-e-g-|"
@@ -179,7 +179,7 @@ final class TestMerge2: XCTestCase {
179179
"abcdefgh|"
180180
}
181181
}
182-
#endif
182+
#endif
183183

184184
func test_merge_finishes_when_iteration_task_is_cancelled() async {
185185
let source1 = Indefinite(value: "test1")
@@ -510,7 +510,7 @@ final class TestMerge3: XCTestCase {
510510
XCTAssertEqual(collected.intersection(expected), expected)
511511
}
512512

513-
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
513+
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
514514
func test_merge_makes_sequence_with_ordered_elements_when_sources_follow_a_timeline() {
515515
validate {
516516
"a---e---|"
@@ -520,7 +520,7 @@ final class TestMerge3: XCTestCase {
520520
"abcdefgh|"
521521
}
522522
}
523-
#endif
523+
#endif
524524

525525
func test_merge_finishes_when_iteration_task_is_cancelled() async {
526526
let source1 = Indefinite(value: "test1")

Tests/AsyncAlgorithmsTests/TestThrottle.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import XCTest
1313
import AsyncAlgorithms
1414

1515
final class TestThrottle: XCTestCase {
16-
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
16+
#if canImport(Darwin) || canImport(Glibc) || canImport(Musl) || canImport(Bionic) || canImport(wasi_pthread)
1717
func test_rate_0() throws {
1818
guard #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) else {
1919
throw XCTSkip("Skipped due to Clock/Instant/Duration availability")
@@ -189,5 +189,5 @@ final class TestThrottle: XCTestCase {
189189
"a--d--g--j--[l|]"
190190
}
191191
}
192-
#endif
192+
#endif
193193
}

0 commit comments

Comments
 (0)