[core] Format: rustfmt on the path and redaction changes
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user