mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-07 08:22:07 +00:00
Lint XCTFail()
This commit is contained in:
parent
3d2a543a54
commit
b0c98ed27a
@ -455,7 +455,7 @@ extension ProfileManagerTests {
|
|||||||
XCTAssertEqual($0.name, "remote3")
|
XCTAssertEqual($0.name, "remote3")
|
||||||
XCTAssertTrue(sut.isRemotelyShared(profileWithId: $0.id))
|
XCTAssertTrue(sut.isRemotelyShared(profileWithId: $0.id))
|
||||||
default:
|
default:
|
||||||
XCTFail()
|
XCTFail("Unknown profile: \($0.id)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -544,7 +544,7 @@ extension ProfileManagerTests {
|
|||||||
XCTAssertEqual(profile.name, "remote2")
|
XCTAssertEqual(profile.name, "remote2")
|
||||||
XCTAssertEqual(profile.attributes.fingerprint, remoteProfiles[1].attributes.fingerprint)
|
XCTAssertEqual(profile.attributes.fingerprint, remoteProfiles[1].attributes.fingerprint)
|
||||||
default:
|
default:
|
||||||
XCTFail()
|
XCTFail("Unknown profile: \($0.id)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -604,7 +604,7 @@ extension ProfileManagerTests {
|
|||||||
case r3:
|
case r3:
|
||||||
XCTAssertEqual($0.attributes.fingerprint, fp3)
|
XCTAssertEqual($0.attributes.fingerprint, fp3)
|
||||||
default:
|
default:
|
||||||
XCTFail()
|
XCTFail("Unknown profile: \($0.id)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user