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