Remove double space after $ in inline expectations tests

This commit is contained in:
Owen Mansel-Chan
2026-03-04 14:12:42 +00:00
parent 501485b9f6
commit aa28c94562
8 changed files with 13 additions and 13 deletions

View File

@@ -97,7 +97,7 @@ fn test_log(harmless: String, password: String, encrypted_password: String) {
info!("{}", m2); // $ Alert[rust/cleartext-logging]=m2
let m3 = format!("message = {}", password); // $ Source[rust/cleartext-logging]=m3
info!("{}", m3); // $ Alert[rust/cleartext-logging]=m3
info!("{}", m3); // $ Alert[rust/cleartext-logging]=m3
let mut m4 = String::new();
write!(&mut m4, "message = {}", password); // $ MISSING: Source=m4