Skip to content

Commit 999d5fb

Browse files
committed
Add swift-testing package dependency
1 parent 920bc9b commit 999d5fb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Package.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ var dependencies: [Package.Dependency] {
6565
branch: "main"),
6666
.package(
6767
url: "https://github.com/swiftlang/swift-syntax",
68+
branch: "main"),
69+
.package(
70+
url: "https://github.com/swiftlang/swift-testing",
6871
branch: "main")
6972
]
7073
}
@@ -154,7 +157,8 @@ let package = Package(
154157
name: "FoundationEssentialsTests",
155158
dependencies: [
156159
"TestSupport",
157-
"FoundationEssentials"
160+
"FoundationEssentials",
161+
.product(name: "Testing", package: "swift-testing")
158162
],
159163
resources: [
160164
.copy("Resources")
@@ -191,6 +195,7 @@ let package = Package(
191195
dependencies: [
192196
"TestSupport",
193197
"FoundationInternationalization",
198+
.product(name: "Testing", package: "swift-testing")
194199
],
195200
swiftSettings: availabilityMacros + featureSettings + testOnlySwiftSettings
196201
),
@@ -221,7 +226,8 @@ package.targets.append(contentsOf: [
221226
.testTarget(
222227
name: "FoundationMacrosTests",
223228
dependencies: [
224-
"FoundationMacros"
229+
"FoundationMacros",
230+
.product(name: "Testing", package: "swift-testing")
225231
],
226232
swiftSettings: availabilityMacros + featureSettings + testOnlySwiftSettings
227233
)

0 commit comments

Comments
 (0)