|
|
@@ -388,11 +388,11 @@ class ResultTestCase: BaseTestCase {
|
|
|
result.withError { string = "\(type(of: $0))" }
|
|
|
|
|
|
// Then
|
|
|
- #if swift(>=3.2)
|
|
|
+ #if swift(>=3.2)
|
|
|
XCTAssertEqual(string, "ResultError #1")
|
|
|
- #else
|
|
|
+ #else
|
|
|
XCTAssertEqual(string, "(ResultError #1)")
|
|
|
- #endif
|
|
|
+ #endif
|
|
|
}
|
|
|
|
|
|
func testWithErrorDoesNotExecuteWhenSuccess() {
|