Skip to content

Commit 208977a

Browse files
Fix len_zero clippy warning in tests
Replace len() > 0 with !is_empty() for clearer intent 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b315d17 commit 208977a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e_organizer_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ async fn test_organizer_add_label_to_talk() {
394394
.await
395395
.expect("Failed to find talk labels");
396396

397-
assert!(labels.len() > 0, "Should have at least one label");
397+
assert!(!labels.is_empty(), "Should have at least one label");
398398

399399
ctx.cleanup().await;
400400
cleanup_database()

0 commit comments

Comments
 (0)