Skip to content

Commit

Permalink
Strict concurrency enablement for some test targets (#3105)
Browse files Browse the repository at this point in the history
Motivation:

A few more low-hanging-fruit test targets.

Modifications:

Enable strict concurrency for:

- NIOFoundationCompatTests
- NIOSingletonsTests

Result:

We're knocking down those targets, one by one.
  • Loading branch information
Lukasa authored Feb 3, 2025
1 parent 8f19d80 commit e2bfa2f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -521,15 +521,17 @@ let package = Package(
dependencies: [
"NIOCore",
"NIOFoundationCompat",
]
],
swiftSettings: strictConcurrencySettings
),
.testTarget(
name: "NIOTests",
dependencies: ["NIO"]
),
.testTarget(
name: "NIOSingletonsTests",
dependencies: ["NIOCore", "NIOPosix"]
dependencies: ["NIOCore", "NIOPosix"],
swiftSettings: strictConcurrencySettings
),
.testTarget(
name: "NIOFileSystemTests",
Expand Down

0 comments on commit e2bfa2f

Please sign in to comment.