Reduce warnings from preconcurrency issues and unused values (#71)

This commit is contained in:
Philippe Hausler authored and GitHub committed 2022-03-07 12:55:17 -08:00
1 parent 2722655bdb
commit a52b55c8ac
15 files changed
+14 -16

No files matched your search

@@ -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"
}
}
@@ -11,7 +11,7 @@
import AsyncAlgorithms
import Foundation
import XCTest
@preconcurrency import XCTest
public struct InfiniteAsyncSequence<Value: Sendable>: AsyncSequence, Sendable {
public typealias Element = Value
@@ -9,8 +9,6 @@
//
//===----------------------------------------------------------------------===//
import ClockStub
public struct ManualClock: Clock {
public struct Step: DurationProtocol {
fileprivate var rawValue: Int
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestBufferedByteIterator: XCTestCase {
+1 -1
View File
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestChain2: XCTestCase {
+1 -1
View File
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestChannel: XCTestCase {
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestCombineLatest2: XCTestCase {
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestCompacted: XCTestCase {
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestInterspersed: XCTestCase {
+1 -1
View File
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
extension Sequence where Element: Sequence, Element.Element: Equatable & Sendable {
+1 -1
View File
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestLazy: XCTestCase {
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestManualClock: XCTestCase {
+1 -1
View File
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestMerge2: XCTestCase {
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
import AsyncAlgorithms
final class TestReductions: XCTestCase {
@@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//
import XCTest
@preconcurrency import XCTest
@testable import AsyncAlgorithms
final class TestTaskFirst: XCTestCase {