Commit 5586a47
committed
Auto merge of #14078 - choznerol:issue-14076-run_expect_error-test-incorrectly-passing, r=weihanglo
Remove `run_expect_error` to avoid tests incorrectly passing
### What does this PR try to resolve?
Fixes #14076
### How should we test and review this PR?
I pushed commits separately so the CI status can show the reproduction and the fix:
- bc5d57c reproduce the bug: Its CI shouldn't have passed.
- 3c473b5 fixes the issue, so the CI for d9d11c4 is now correctly [failing tests](https://github.com/rust-lang/cargo/actions/runs/9529301554/job/26267905188#step:11:4072).
- Turns out these test already have regression. 79a7bf4 fixes them.
### Additional information
Thanks `@weihanglo` for suggesting the fix 3c473b5 in #14076 (comment).File tree
3 files changed
+5
-12
lines changed- crates/cargo-test-support/src
- tests/testsuite
3 files changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | 918 | | |
928 | 919 | | |
929 | 920 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| 635 | + | |
635 | 636 | | |
636 | | - | |
| 637 | + | |
637 | 638 | | |
638 | 639 | | |
639 | 640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2933 | 2933 | | |
2934 | 2934 | | |
2935 | 2935 | | |
2936 | | - | |
| 2936 | + | |
| 2937 | + | |
2937 | 2938 | | |
2938 | 2939 | | |
2939 | 2940 | | |
2940 | 2941 | | |
2941 | 2942 | | |
2942 | | - | |
| 2943 | + | |
2943 | 2944 | | |
0 commit comments