[core] Format: rustfmt on the URL redaction tests
This commit is contained in:
@@ -264,7 +264,9 @@ fn credentials_with_slash_query_or_hash_are_never_repeated() {
|
||||
"http://admin:hunter#2@10.0.0.1:80",
|
||||
"ftp://admin:hunter2@10.0.0.1",
|
||||
] {
|
||||
let errs = errors_for(&format!("hostname = \"app.test\"\nupstreams = [\"{url}\"]\n"));
|
||||
let errs = errors_for(&format!(
|
||||
"hostname = \"app.test\"\nupstreams = [\"{url}\"]\n"
|
||||
));
|
||||
assert!(!errs.is_empty(), "{url} accepted");
|
||||
for e in &errs {
|
||||
let all = format!("{e} {:?}", e.params());
|
||||
|
||||
Reference in New Issue
Block a user