mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 20:09:48 -05:00
fix(lints): apply clippy suggestions for tests
This commit is contained in:
parent
e83b8e6f4a
commit
8bac3cc91f
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ mod tests {
|
||||||
.await?;
|
.await?;
|
||||||
let file_path = PasteType::RemoteFile
|
let file_path = PasteType::RemoteFile
|
||||||
.get_path(&config.server.upload_path)
|
.get_path(&config.server.upload_path)
|
||||||
.join(&file_name);
|
.join(file_name);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
"8c712905b799905357b8202d0cb7a244cefeeccf7aa5eb79896645ac50158ffa",
|
"8c712905b799905357b8202d0cb7a244cefeeccf7aa5eb79896645ac50158ffa",
|
||||||
util::sha256_digest(&*paste.data)?
|
util::sha256_digest(&*paste.data)?
|
||||||
|
|
Loading…
Reference in a new issue