From 0525f8febe1116b6c0ab506b0288752a5413760a Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 21 Apr 2023 15:25:32 +0200 Subject: [PATCH] Update release list test --- src/web/rustdoc.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/web/rustdoc.rs b/src/web/rustdoc.rs index 00c5904d9..f56e801c1 100644 --- a/src/web/rustdoc.rs +++ b/src/web/rustdoc.rs @@ -2240,12 +2240,8 @@ mod test { .create()?; // test rustdoc pages stay on the documentation - let page = kuchiki::parse_html().one( - env.frontend() - .get("/hexponent/0.3.0/hexponent/") - .send()? - .text()?, - ); + let page = kuchiki::parse_html() + .one(env.frontend().get("/hexponent/releases").send()?.text()?); let selector = r#"ul > li a[href="/crate/hexponent/0.3.1/target-redirect/hexponent/index.html"]"# .to_string();