Fix missing try in test
This commit is contained in:
parent
f67b33bf56
commit
9544e59fcf
|
@ -90,7 +90,7 @@ class EncryptionTests: XCTestCase {
|
|||
|
||||
func testCertificateMD5() {
|
||||
let path = Bundle(for: EncryptionTests.self).path(forResource: "pia-2048", ofType: "pem")!
|
||||
let md5 = TLSBox.md5(forCertificatePath: path)
|
||||
let md5 = try! TLSBox.md5(forCertificatePath: path)
|
||||
let exp = "e2fccccaba712ccc68449b1c56427ac1"
|
||||
print(md5)
|
||||
XCTAssertEqual(md5, exp)
|
||||
|
|
Loading…
Reference in New Issue