Skip to content

Commit

Permalink
tarball: Remove obsolete async prefix from test names
Browse files Browse the repository at this point in the history
  • Loading branch information
eth3lbert committed Nov 23, 2024
1 parent 77c490e commit bba44ff
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions crates/crates_io_tarball/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ mod tests {
const MAX_SIZE: u64 = 512 * 1024 * 1024;

#[tokio::test]
async fn async_process_tarball_test() {
async fn process_tarball_test() {
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
.await
Expand All @@ -208,7 +208,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_size_limit() {
async fn process_tarball_test_size_limit() {
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
.await
Expand All @@ -221,7 +221,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_incomplete_vcs_info() {
async fn process_tarball_test_incomplete_vcs_info() {
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
.await
Expand All @@ -236,7 +236,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_vcs_info() {
async fn process_tarball_test_vcs_info() {
let vcs_info = br#"{"path_in_vcs": "path/in/vcs"}"#;
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
Expand All @@ -252,7 +252,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_manifest() {
async fn process_tarball_test_manifest() {
let manifest = br#"
[package]
name = "foo"
Expand All @@ -275,7 +275,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_manifest_with_project() {
async fn process_tarball_test_manifest_with_project() {
let manifest = br#"
[project]
name = "foo"
Expand All @@ -294,7 +294,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_manifest_with_default_readme() {
async fn process_tarball_test_manifest_with_default_readme() {
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
.await
Expand All @@ -307,7 +307,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_manifest_with_boolean_readme() {
async fn process_tarball_test_manifest_with_boolean_readme() {
let manifest = br#"
[package]
name = "foo"
Expand All @@ -326,7 +326,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_lowercase_manifest() {
async fn process_tarball_test_lowercase_manifest() {
let manifest = br#"
[package]
name = "foo"
Expand All @@ -345,7 +345,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_incorrect_manifest_casing() {
async fn process_tarball_test_incorrect_manifest_casing() {
let process = |file| async move {
let tarball = TarballBuilder::new()
.add_file(&format!("foo-0.0.1/{file}"), MANIFEST)
Expand All @@ -364,7 +364,7 @@ mod tests {
}

#[tokio::test]
async fn async_process_tarball_test_multiple_manifests() {
async fn process_tarball_test_multiple_manifests() {
let process = |files: Vec<_>| async move {
use futures_util::stream::{self, StreamExt};

Expand Down Expand Up @@ -392,7 +392,7 @@ mod tests {
}

#[tokio::test]
async fn async_test_lib() {
async fn test_lib() {
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
.await
Expand All @@ -409,7 +409,7 @@ mod tests {
}

#[tokio::test]
async fn async_test_lib_with_bins_and_example() {
async fn test_lib_with_bins_and_example() {
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
.await
Expand All @@ -432,7 +432,7 @@ mod tests {
}

#[tokio::test]
async fn async_test_app() {
async fn test_app() {
let tarball = TarballBuilder::new()
.add_file("foo-0.0.1/Cargo.toml", MANIFEST)
.await
Expand Down

0 comments on commit bba44ff

Please sign in to comment.