From fd179752142ec060119535743e0b1804490498f6 Mon Sep 17 00:00:00 2001 From: George Barnett Date: Thu, 9 Jan 2025 11:08:11 +0000 Subject: [PATCH] fix supported --- .../HTTP2TransportTests.swift | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift b/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift index 8e62858..7ce862d 100644 --- a/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift +++ b/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift @@ -1641,12 +1641,11 @@ final class HTTP2TransportTests: XCTestCase { } extension [HTTP2TransportTests.Transport] { - static let supported = [ - HTTP2TransportTests.Transport(server: .posix, client: .posix), - HTTP2TransportTests.Transport(server: .transportServices, client: .transportServices), - HTTP2TransportTests.Transport(server: .transportServices, client: .posix), - HTTP2TransportTests.Transport(server: .posix, client: .transportServices), - ] + static let supported: [HTTP2TransportTests.Transport] = TransportKind.allCases.flatMap { server in + TransportKind.allCases.map { client in + HTTP2TransportTests.Transport(server: server, client: client) + } + } } extension ControlInput {