mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
chore: New clippy lints (#6568)
This commit is contained in:
@@ -100,7 +100,7 @@ async fn test_create_long_names() {
|
||||
let t = TestContext::new().await;
|
||||
let s = format!("file.{}", "a".repeat(100));
|
||||
let blob = BlobObject::create_and_deduplicate_from_bytes(&t, b"data", &s).unwrap();
|
||||
let blobname = blob.as_name().split('/').last().unwrap();
|
||||
let blobname = blob.as_name().split('/').next_back().unwrap();
|
||||
assert!(blobname.len() < 70);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user