Skip to content

Commit

Permalink
Test on 5.8 or Darwin only
Browse files Browse the repository at this point in the history
  • Loading branch information
swhitty committed Apr 13, 2024
1 parent c81e879 commit 757fe0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FlyingFox/Tests/HTTPServerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ final class HTTPServerTests: XCTestCase {
)
}

#if canImport(Darwin) || compiler(>=5.8)
func testConnections_AreHandled_DiscardingTaskGroup() async throws {
let server = HTTPServer.make()
let port = try await startServerWithPort(server, preferConnectionsDiscarding: true)
Expand All @@ -183,6 +184,7 @@ final class HTTPServerTests: XCTestCase {
404
)
}
#endif

func testHandlerErrors_Return500() async throws {
let server = HTTPServer.make() { _ in
Expand Down

0 comments on commit 757fe0a

Please sign in to comment.