You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
♻️ Replace unwrap with expect for clearer test assertions
Replace unwrap() calls with expect() across test files to provide clear
error context when assertions fail. Also refactor raw string literals to
use single-character escape sequences where appropriate.
Changes:
- Use expect("should be err") instead of unwrap_err() for failed
validation tests in context.rs, status_messages.rs, and providers.rs
- Use expect("should have current") for status message batch navigation
tests
- Replace Vec literal with array literal in status_messages.rs test
scenarios
- Switch #[ignore] to #[ignore = "reason"] with descriptive message
- Replace r#"..."# raw strings with r"..." for single-quote content
in changelog_tests.rs, pr_tests.rs, and test_utils.rs
Improves test failure diagnostics without changing test behavior.
0 commit comments