Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ebd5c26

Browse files
committed
Adds @preconcurrency to Networking module import
Specifies `@preconcurrency` when importing the Networking module within the test target. This allows the test target to build using the new concurrency features, while still maintaining compatibility with older code.
1 parent b98c532 commit ebd5c26

File tree

1 file changed

+1
-1
lines changed
  • Tests/NetworkingTests
    • ServerConfigTests.swift

1 file changed

+1
-1
lines changed

Tests/NetworkingTests/ServerConfigTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Testing
22
import Foundation
3-
@testable import Networking
3+
@testable @preconcurrency import Networking
44

55
struct ServerConfigTests {
66
private let validURLString: URL = try! "https://api.example.com".asURL()

0 commit comments

Comments
(0)