Skip to content

Commit 1b46084

Browse files
Update release list test
1 parent 2fc955d commit 1b46084

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/web/rustdoc.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -2240,12 +2240,8 @@ mod test {
22402240
.create()?;
22412241

22422242
// test rustdoc pages stay on the documentation
2243-
let page = kuchiki::parse_html().one(
2244-
env.frontend()
2245-
.get("/hexponent/0.3.0/hexponent/")
2246-
.send()?
2247-
.text()?,
2248-
);
2243+
let page = kuchiki::parse_html()
2244+
.one(env.frontend().get("/hexponent/releases").send()?.text()?);
22492245
let selector =
22502246
r#"ul > li a[href="/crate/hexponent/0.3.1/target-redirect/hexponent/index.html"]"#
22512247
.to_string();

0 commit comments

Comments
 (0)