ci(protocols): inherit workspace lint policy (#5436)

This commit is contained in:
Zhengchao An
2026-07-29 22:35:02 +08:00
committed by GitHub
parent 55be5af661
commit c9397405ed
9 changed files with 20 additions and 24 deletions
@@ -436,12 +436,10 @@ fn test_symlink_to_nested_object() {
fn test_listing_empty_container() {
let objects: Vec<&str> = vec![];
let filtered: Vec<_> = objects.iter().collect();
assert_eq!(filtered.len(), 0);
assert!(objects.is_empty());
// With prefix
let with_prefix: Vec<_> = objects.iter().filter(|o| o.starts_with("prefix/")).collect();
assert_eq!(with_prefix.len(), 0);
assert!(!objects.iter().any(|o| o.starts_with("prefix/")));
}
/// Test listing lexicographic ordering