summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2023-12-15 18:02:39 +0100
committerCyborus <cyborus@cyborus.xyz>2023-12-15 18:02:39 +0100
commit96124821ba0f9b9cb5d1bf97be5faed1165a51b1 (patch)
tree364af3a378a0eae42f8c7e0d35a7f583bf03db25 /tests
parentadd download test (diff)
downloadforgejo-api-96124821ba0f9b9cb5d1bf97be5faed1165a51b1.tar.xz
forgejo-api-96124821ba0f9b9cb5d1bf97be5faed1165a51b1.zip
format
Diffstat (limited to 'tests')
-rw-r--r--tests/ci_test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs
index 5812074..e5cb1c2 100644
--- a/tests/ci_test.rs
+++ b/tests/ci_test.rs
@@ -224,10 +224,10 @@ async fn repo(api: &forgejo_api::Forgejo) -> eyre::Result<()> {
api.download_release_attachment("TestingAdmin", "test", release.id, attachment.id)
.await?
.as_deref()
- == Some(b"This is a file!"),
+ == Some(b"This is a file!"),
"couldn't download attachment"
);
-
+
api.delete_release_attachment("TestingAdmin", "test", release.id, attachment.id)
.await
.wrap_err("failed to deleted attachment")?;