We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fdad9 commit dc04daaCopy full SHA for dc04daa
2 files changed
Tests/Core/ThenableTests.swift
@@ -84,8 +84,11 @@ class ThenableTests: XCTestCase {
84
enum E: Error { case dummy }
85
86
let ex = expectation(description: "")
87
- Promise(error: E.dummy).compactMap {
88
- Int($0)
+
+ let p = Promise<Int>(error: E.dummy)
89
90
+ p.compactMap { (x: Int) -> Int? in
91
+ Int(x)
92
}.catch {
93
if case E.dummy = $0 {} else {
94
XCTFail()
Tests/PMKFoundation/TestNSURLSession.swift
@@ -1,4 +1,4 @@
1
-#if !os(Linux)
+#if !os(Linux) && !os(watchOS)
2
3
import OHHTTPStubsSwift
4
import PMKFoundation
0 commit comments