mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-06 00:00:03 +08:00
Use placeholder instead of declared value to suppress warning
This commit is contained in:
@@ -68,9 +68,8 @@ class OpenVPNCertificateTests: XCTestCase {
|
||||
func testCertificateFromEmptyPEM() {
|
||||
let caData = Data(count: 1024)
|
||||
|
||||
let certificate: OpenVPNCertificate
|
||||
do {
|
||||
certificate = try OpenVPNCertificate(pem: caData)
|
||||
let _ = try OpenVPNCertificate(pem: caData)
|
||||
} catch {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user