We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fefe49 commit ff301c9Copy full SHA for ff301c9
src/web/releases.rs
@@ -1489,12 +1489,13 @@ mod tests {
1489
continue;
1490
}
1491
1492
- let resp = if url.starts_with("http://") || url.starts_with("https://") {
1493
- // Skip external links
1494
- continue;
1495
- } else {
1496
- web.get(&url).send()?
1497
- };
+ let resp =
+ if url.starts_with("http://") || url.starts_with("https://") || url == "#" {
+ // Skip external links
+ continue;
+ } else {
+ web.get(&url).send()?
1498
+ };
1499
let status = resp.status();
1500
assert!(status.is_success(), "failed to GET {}: {}", url, status);
1501
0 commit comments