Skip to content

Commit 21b3bf5

Browse files
agisboyeagisboye
authored andcommitted
Fix typo
1 parent c400615 commit 21b3bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/CipherTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CipherTests: XCTestCase {
1616
// db2
1717
let keyData = NSMutableData(length: 64)!
1818
let _ = SecRandomCopyBytes(kSecRandomDefault, 64, UnsafeMutablePointer<UInt8>(keyData.mutableBytes))
19-
try! db2.key("hello")
19+
try! db2.key(Blob(bytes: keyData.bytes, length: keyData.length))
2020

2121
try! db2.run("CREATE TABLE foo (bar TEXT)")
2222
try! db2.run("INSERT INTO foo (bar) VALUES ('world')")

0 commit comments

Comments
 (0)