Skip to content

Commit aef93af

Browse files
authored
Specify the platform version as the fixtures depend on swift concurrency (#9318)
Specify the platform version as the fixtures depend on swift concurrency. ### Motivation: Tests failing locally due to code in the fixtures depending on Swift Concurrency features. ### Modifications: Specify the platform version in the fixtures. ### Result: Tests pass
1 parent fcf3c12 commit aef93af

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Fixtures/SwiftMigrate/ExistentialAnyWithCommonPluginDependencyMigration/Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import PackageDescription
44

55
let package = Package(
66
name: "ExistentialAnyMigration",
7+
platforms: [
8+
.macOS(.v10_15)
9+
],
710
targets: [
811
.target(name: "Library", dependencies: ["CommonLibrary"], plugins: [.plugin(name: "Plugin")]),
912
.plugin(name: "Plugin", capability: .buildTool, dependencies: ["Tool"]),

Fixtures/SwiftMigrate/ExistentialAnyWithPluginMigration/Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import PackageDescription
44

55
let package = Package(
66
name: "ExistentialAnyMigration",
7+
platforms: [
8+
.macOS(.v10_15)
9+
],
710
targets: [
811
.target(name: "Library", plugins: [.plugin(name: "Plugin")]),
912
.plugin(name: "Plugin", capability: .buildTool, dependencies: ["Tool"]),

0 commit comments

Comments
 (0)