fix(lints): apply clippy suggestions for tests

This commit is contained in:
Orhun Parmaksız 2022-12-18 23:43:58 +03:00
parent e83b8e6f4a
commit 8bac3cc91f
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -343,7 +343,7 @@ mod tests {
.await?;
let file_path = PasteType::RemoteFile
.get_path(&config.server.upload_path)
.join(&file_name);
.join(file_name);
assert_eq!(
"8c712905b799905357b8202d0cb7a244cefeeccf7aa5eb79896645ac50158ffa",
util::sha256_digest(&*paste.data)?