mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 15:46:36 +00:00
Reduce test cases in rate_limited_test_has_release_artifact_and_download_artifacts
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
af30cfe2e1
commit
ec064c8294
1 changed files with 4 additions and 10 deletions
|
@ -583,16 +583,10 @@ mod test {
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn rate_limited_test_has_release_artifact_and_download_artifacts() {
|
async fn rate_limited_test_has_release_artifact_and_download_artifacts() {
|
||||||
const RELEASES: [(GhRelease, &[&str]); 2] = [
|
const RELEASES: [(GhRelease, &[&str]); 1] = [(
|
||||||
(
|
cargo_binstall_v0_20_1::RELEASE,
|
||||||
cargo_binstall_v0_20_1::RELEASE,
|
cargo_binstall_v0_20_1::ARTIFACTS,
|
||||||
cargo_binstall_v0_20_1::ARTIFACTS,
|
)];
|
||||||
),
|
|
||||||
(
|
|
||||||
cargo_audit_v_0_17_6::RELEASE,
|
|
||||||
cargo_audit_v_0_17_6::ARTIFACTS,
|
|
||||||
),
|
|
||||||
];
|
|
||||||
const NON_EXISTENT_RELEASES: [GhRelease; 1] = [GhRelease {
|
const NON_EXISTENT_RELEASES: [GhRelease; 1] = [GhRelease {
|
||||||
repo: GhRepo {
|
repo: GhRepo {
|
||||||
owner: CompactString::new_inline("cargo-bins"),
|
owner: CompactString::new_inline("cargo-bins"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue