Skip to content

Commit

Permalink
Tests for the functions that are using KeyPath require !swift(>=5.2) …
Browse files Browse the repository at this point in the history
…(Guarantee)
  • Loading branch information
RomanPodymov authored Jan 14, 2020
1 parent 8fd4613 commit 98e3f1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/CorePromise/GuaranteeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GuaranteeTests: XCTestCase {
wait(for: [ex], timeout: 10)
}

#if swift(>=4)
#if swift(>=4) && !swift(>=5.2)
func testMapByKeyPath() {
let ex = expectation(description: "")

Expand Down Expand Up @@ -56,7 +56,7 @@ class GuaranteeTests: XCTestCase {
wait(for: [ex], timeout: 10)
}

#if swift(>=4)
#if swift(>=4) && !swift(>=5.2)
func testMapValuesByKeyPath() {
let ex = expectation(description: "")

Expand Down Expand Up @@ -97,7 +97,7 @@ class GuaranteeTests: XCTestCase {
wait(for: [ex], timeout: 10)
}

#if swift(>=4)
#if swift(>=4) && !swift(>=5.2)
func testCompactMapValuesByKeyPath() {
let ex = expectation(description: "")

Expand Down Expand Up @@ -154,7 +154,7 @@ class GuaranteeTests: XCTestCase {
wait(for: [ex], timeout: 10)
}

#if swift(>=4)
#if swift(>=4) && !swift(>=5.2)
func testFilterValuesByKeyPath() {

let ex = expectation(description: "")
Expand Down

0 comments on commit 98e3f1c

Please sign in to comment.