diff --git a/Sources/AsyncSequenceValidation/Expectation.swift b/Sources/AsyncSequenceValidation/Expectation.swift index c94c8c2..9872d91 100644 --- a/Sources/AsyncSequenceValidation/Expectation.swift +++ b/Sources/AsyncSequenceValidation/Expectation.swift @@ -67,7 +67,7 @@ extension AsyncSequenceValidationDiagram { return "unexpected failure" case .specificationViolationGotValueAfterIteration(let actual): return "specification violation got \"\(actual)\" after iteration terminated" - case .specificationViolationGotFailureAfterIteration(let error): + case .specificationViolationGotFailureAfterIteration: return "specification violation got failure after iteration terminated" } } diff --git a/Tests/AsyncAlgorithmsTests/Performance/ThroughputMeasurement.swift b/Tests/AsyncAlgorithmsTests/Performance/ThroughputMeasurement.swift index 86769c4..8ffc3b1 100644 --- a/Tests/AsyncAlgorithmsTests/Performance/ThroughputMeasurement.swift +++ b/Tests/AsyncAlgorithmsTests/Performance/ThroughputMeasurement.swift @@ -11,7 +11,7 @@ import AsyncAlgorithms import Foundation -import XCTest +@preconcurrency import XCTest public struct InfiniteAsyncSequence: AsyncSequence, Sendable { public typealias Element = Value diff --git a/Tests/AsyncAlgorithmsTests/Support/ManualClock.swift b/Tests/AsyncAlgorithmsTests/Support/ManualClock.swift index 6704b39..1e57b06 100644 --- a/Tests/AsyncAlgorithmsTests/Support/ManualClock.swift +++ b/Tests/AsyncAlgorithmsTests/Support/ManualClock.swift @@ -9,8 +9,6 @@ // //===----------------------------------------------------------------------===// -import ClockStub - public struct ManualClock: Clock { public struct Step: DurationProtocol { fileprivate var rawValue: Int diff --git a/Tests/AsyncAlgorithmsTests/TestBufferedByteIterator.swift b/Tests/AsyncAlgorithmsTests/TestBufferedByteIterator.swift index ee6c5d1..9284cc6 100644 --- a/Tests/AsyncAlgorithmsTests/TestBufferedByteIterator.swift +++ b/Tests/AsyncAlgorithmsTests/TestBufferedByteIterator.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestBufferedByteIterator: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestChain.swift b/Tests/AsyncAlgorithmsTests/TestChain.swift index b58d518..f7cd0fe 100644 --- a/Tests/AsyncAlgorithmsTests/TestChain.swift +++ b/Tests/AsyncAlgorithmsTests/TestChain.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestChain2: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestChannel.swift b/Tests/AsyncAlgorithmsTests/TestChannel.swift index 1f49088..e42d7ec 100644 --- a/Tests/AsyncAlgorithmsTests/TestChannel.swift +++ b/Tests/AsyncAlgorithmsTests/TestChannel.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestChannel: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestCombineLatest.swift b/Tests/AsyncAlgorithmsTests/TestCombineLatest.swift index b468432..659e535 100644 --- a/Tests/AsyncAlgorithmsTests/TestCombineLatest.swift +++ b/Tests/AsyncAlgorithmsTests/TestCombineLatest.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestCombineLatest2: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestCompacted.swift b/Tests/AsyncAlgorithmsTests/TestCompacted.swift index a2f7943..d287613 100644 --- a/Tests/AsyncAlgorithmsTests/TestCompacted.swift +++ b/Tests/AsyncAlgorithmsTests/TestCompacted.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestCompacted: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestInterspersed.swift b/Tests/AsyncAlgorithmsTests/TestInterspersed.swift index 79c93f7..1fa6c38 100644 --- a/Tests/AsyncAlgorithmsTests/TestInterspersed.swift +++ b/Tests/AsyncAlgorithmsTests/TestInterspersed.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestInterspersed: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestJoin.swift b/Tests/AsyncAlgorithmsTests/TestJoin.swift index e9e1ae1..21c0428 100644 --- a/Tests/AsyncAlgorithmsTests/TestJoin.swift +++ b/Tests/AsyncAlgorithmsTests/TestJoin.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms extension Sequence where Element: Sequence, Element.Element: Equatable & Sendable { diff --git a/Tests/AsyncAlgorithmsTests/TestLazy.swift b/Tests/AsyncAlgorithmsTests/TestLazy.swift index d3181c1..3d7f58c 100644 --- a/Tests/AsyncAlgorithmsTests/TestLazy.swift +++ b/Tests/AsyncAlgorithmsTests/TestLazy.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestLazy: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestManualClock.swift b/Tests/AsyncAlgorithmsTests/TestManualClock.swift index 045ba2d..cc4d264 100644 --- a/Tests/AsyncAlgorithmsTests/TestManualClock.swift +++ b/Tests/AsyncAlgorithmsTests/TestManualClock.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestManualClock: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestMerge.swift b/Tests/AsyncAlgorithmsTests/TestMerge.swift index 0ba63ec..fe8ae8d 100644 --- a/Tests/AsyncAlgorithmsTests/TestMerge.swift +++ b/Tests/AsyncAlgorithmsTests/TestMerge.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestMerge2: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestReductions.swift b/Tests/AsyncAlgorithmsTests/TestReductions.swift index e830a69..4aef265 100644 --- a/Tests/AsyncAlgorithmsTests/TestReductions.swift +++ b/Tests/AsyncAlgorithmsTests/TestReductions.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest import AsyncAlgorithms final class TestReductions: XCTestCase { diff --git a/Tests/AsyncAlgorithmsTests/TestTaskFirst.swift b/Tests/AsyncAlgorithmsTests/TestTaskFirst.swift index 921b636..1716317 100644 --- a/Tests/AsyncAlgorithmsTests/TestTaskFirst.swift +++ b/Tests/AsyncAlgorithmsTests/TestTaskFirst.swift @@ -9,7 +9,7 @@ // //===----------------------------------------------------------------------===// -import XCTest +@preconcurrency import XCTest @testable import AsyncAlgorithms final class TestTaskFirst: XCTestCase {