trivial changes

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2026-05-20 11:08:43 +08:00
parent cf108c131e
commit cfa877d28c

View File

@@ -3427,7 +3427,7 @@ mod tests {
assert!(changed); assert!(changed);
assert!(cfg.password.starts_with(PERMANENT_PASSWORD_ENC_VERSION)); assert!(cfg.password.starts_with(PERMANENT_PASSWORD_ENC_VERSION));
assert!(!is_permanent_password_hashed_storage(&cfg.password)); assert!(!is_permanent_password_hashed_storage(&cfg.password));
assert_eq!(cfg.salt.chars().count(), 32); assert_eq!(cfg.salt.chars().count(), DEFAULT_SALT_LEN);
let (inner, decrypted, _) = decrypt_permanent_password_str_or_original(&cfg.password); let (inner, decrypted, _) = decrypt_permanent_password_str_or_original(&cfg.password);
assert!(decrypted); assert!(decrypted);