chore: New clippy lints (#6568)

This commit is contained in:
Hocuri
2025-02-24 15:50:38 +01:00
committed by GitHub
parent fbf3ff0112
commit 7b3a1b88e6
4 changed files with 6 additions and 4 deletions

View File

@@ -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);
}