[core] Format: rustfmt on the path and redaction changes

This commit is contained in:
2026-11-07 18:57:53 +01:00
parent 2b66729f1b
commit 54574702ea
3 changed files with 38 additions and 5 deletions
+4 -1
View File
@@ -249,6 +249,9 @@ fn a_password_in_an_upstream_url_is_never_repeated() {
let all = format!("{e} {:?} {:?}", e.params(), e.field());
assert!(!all.contains("hunter2"), "{all}");
}
let e = errs.iter().find(|e| e.code() == "host.upstream.credentials").unwrap();
let e = errs
.iter()
.find(|e| e.code() == "host.upstream.credentials")
.unwrap();
assert_eq!(e.params()["url"], "http://\u{2026}@10.0.0.2:3000");
}