Skip to content

test(core): replace is_empty assertions flagged by clippy assert_is_empty - #226

Merged
bug-ops merged 1 commit into
mainfrom
fix/223-assert-is-empty
Oct 5, 2026
Merged

bug-ops merged 1 commit into
mainfrom
fix/223-assert-is-empty

Conversation

@bug-ops

@bug-ops bug-ops commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Clippy 1.99 added the assert_is_empty lint, which fails CI (-D warnings) on all PRs, including #223.

Replace flagged assert!(x.is_empty()) / assert!(!x.is_empty()) with assert_eq!/assert_ne! on len() in scrape-core tests.

@github-actions github-actions Bot added the rust Rust core library (scrape-core) label Oct 5, 2026
@bug-ops
bug-ops enabled auto-merge (squash) October 5, 2026 13:31
@bug-ops
bug-ops merged commit ed1c1c1 into main Oct 5, 2026
37 checks passed
@bug-ops
bug-ops deleted the fix/223-assert-is-empty branch October 5, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Rust core library (scrape-core)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant