Skip to content

Commit

Permalink
Updated package
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Aug 25, 2022
1 parent 0f59629 commit e357a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let package = Package(

func addShouldTestFlag() {
// XCTestUtils requires this flag in all targets, not just test targets
package.targets /* .map { $0.isTest } */ .forEach { target in
package.targets /* .filter { $0.isTest } */ .forEach { target in
if target.swiftSettings == nil { target.swiftSettings = [] }
target.swiftSettings?.append(.define("shouldTestCurrentPlatform"))
}
Expand Down

0 comments on commit e357a7c

Please sign in to comment.