Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Jan 10, 2025
1 parent 2a0ad4b commit 021a248
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/docbuilder/rustwide_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1372,12 +1372,7 @@ mod tests {
Ok::<_, anyhow::Error>(release_id)
})?;

fn check_rustdoc_status(
env: &TestEnvironment,
rid: ReleaseId,
crate_: &str,
version: &str,
) -> Result<()> {
fn check_rustdoc_status(env: &TestEnvironment, rid: ReleaseId) -> Result<()> {
assert_eq!(
env.runtime().block_on(async {
let mut conn = env.async_db().await.async_conn().await;
Expand All @@ -1393,7 +1388,7 @@ mod tests {
Ok(())
}

check_rustdoc_status(env, release_id, &crate_, &version)?;
check_rustdoc_status(env, release_id)?;

let mut builder = RustwideBuilder::init(env).unwrap();
builder.update_toolchain()?;
Expand All @@ -1404,7 +1399,7 @@ mod tests {
.successful
);

check_rustdoc_status(env, release_id, &crate_, &version)?;
check_rustdoc_status(env, release_id)?;
Ok(())
});
}
Expand Down

0 comments on commit 021a248

Please sign in to comment.