1 parent
cfa877d28c
commit
e7af2e8488
1 file changed
+1
-1
@@ -274,7 +274,7 @@ mod tests {
|
|||||||
let (inner, decrypted, should_store) = decrypt_permanent_password_str_or_original(&storage);
|
let (inner, decrypted, should_store) = decrypt_permanent_password_str_or_original(&storage);
|
||||||
assert!(decrypted);
|
assert!(decrypted);
|
||||||
assert!(!should_store);
|
assert!(!should_store);
|
||||||
assert!(inner.starts_with(HBBS_PRESET_PASSWORD_HASH_PREFIX));
|
assert!(inner.starts_with(PERMANENT_PASSWORD_HASH_PREFIX));
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
decode_permanent_password_h1_from_storage(&storage),
|
decode_permanent_password_h1_from_storage(&storage),
|
||||||
Some(h1)
|
Some(h1)
|
||||||
|
|||||||
Reference in new issue
Block a user