style: apply rustfmt to salvaged #49 commits

This commit is contained in:
Valerio 2026-06-09 10:56:51 +02:00 committed by Valerio
parent 519dfb7864
commit 84a0f9774d
3 changed files with 12 additions and 9 deletions

View file

@ -2948,7 +2948,9 @@ mod tests {
assert!(!looks_truncated("https://example.com/path/to/page"));
assert!(!looks_truncated("https://example.com/?a=1"));
assert!(!looks_truncated("https://example.com/?a=1&b=2"));
assert!(!looks_truncated("https://example.com/?a=1&b=2&c=hello%20world"));
assert!(!looks_truncated(
"https://example.com/?a=1&b=2&c=hello%20world"
));
// Hash anchors without a query are clean.
assert!(!looks_truncated("https://example.com/page#section"));
}