Conversation
|
GNU testsuite comparison: |
This comment was marked as outdated.
This comment was marked as outdated.
19faac5 to
058706c
Compare
Merging this PR will degrade performance by 6.07%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
| assert_eq!(c, None); | ||
| assert_eq!(a, ["--", "-r", "file"]); | ||
| assert!(i.is_empty()); | ||
| assert_eq!(i, [] as [_; 0]); |
There was a problem hiding this comment.
i am not convinced it is better and easier to understand
There was a problem hiding this comment.
The benefit is supposedly that the assertion will report what the asserted value contained, instead of a boolean.
058706c to
1526605
Compare
The
assert_is_emptylint will be stable in Rust 1.98 on 2026-10-01.Closes #14917.