[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
@@ -795,7 +795,10 @@ mod shown_tests {
#[test]
fn userinfo_is_hidden() {
assert_eq!(shown_url("http://user:hunter2@10.0.0.1:80/x"), "http://\u{2026}@10.0.0.1:80/x");
assert_eq!(
shown_url("http://user:hunter2@10.0.0.1:80/x"),
"http://\u{2026}@10.0.0.1:80/x"
);
assert_eq!(shown_url("user:hunter2@host:80"), "\u{2026}@host:80");
assert_eq!(shown_url("http://10.0.0.1:80"), "http://10.0.0.1:80");
assert_eq!(shown_url("http://h/a@b"), "http://h/a@b");