diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-01-01 23:56:03 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-01-01 23:56:03 +0100 |
commit | ce08cb4d7f4a9b9a4cf2b284bf26f782cf1e252d (patch) | |
tree | 957a9803ccb5be7c71f50c0b71fab948285797a7 /tests/ci_test.rs | |
parent | add archive tests (diff) | |
download | forgejo-api-ce08cb4d7f4a9b9a4cf2b284bf26f782cf1e252d.tar.xz forgejo-api-ce08cb4d7f4a9b9a4cf2b284bf26f782cf1e252d.zip |
format
Diffstat (limited to '')
-rw-r--r-- | tests/ci_test.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs index 6d6077f..c7e3b90 100644 --- a/tests/ci_test.rs +++ b/tests/ci_test.rs @@ -244,11 +244,15 @@ async fn repo(api: &forgejo_api::Forgejo) -> eyre::Result<()> { "couldn't download attachment" ); ensure!( - api.download_zip_archive("TestingAdmin", "test", "v1.0").await?.is_some(), + api.download_zip_archive("TestingAdmin", "test", "v1.0") + .await? + .is_some(), "couldn't download zip archive" ); ensure!( - api.download_tarball_archive("TestingAdmin", "test", "v1.0").await?.is_some(), + api.download_tarball_archive("TestingAdmin", "test", "v1.0") + .await? + .is_some(), "couldn't download tape archive" ); |