Skip to content

Commit

Permalink
Fix tests for Swift5.5@linux. \n Note, this commit also breaks tests …
Browse files Browse the repository at this point in the history
…on Swift<5.5@linux.
  • Loading branch information
mikolasstuchlik committed Oct 21, 2021
1 parent 9fd54c3 commit 3feab35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ let package = Package(
targets: [
.target(
name: "FTAPIKit",
dependencies: []),
dependencies: []
),
.testTarget(
name: "FTAPIKitTests",
dependencies: ["FTAPIKit"])
dependencies: ["FTAPIKit"]
)
]
)
2 changes: 1 addition & 1 deletion Tests/FTAPIKitTests/AsyncTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if swift(>=5.5)
#if swift(>=5.5) && !os(Linux)
import Foundation
import XCTest

Expand Down
12 changes: 0 additions & 12 deletions Tests/LinuxMain.swift

This file was deleted.

0 comments on commit 3feab35

Please sign in to comment.