File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1146,7 +1146,7 @@ fn doctest_run_fn(
1146
1146
eprint ! ( "Test compiled successfully, but it's marked `compile_fail`." ) ;
1147
1147
}
1148
1148
TestFailure :: UnexpectedRunPass => {
1149
- eprint ! ( "Test didn't panic, but it's marked `should_panic`." ) ;
1149
+ eprint ! ( "1> Test didn't panic, but it's marked `should_panic`." ) ;
1150
1150
}
1151
1151
TestFailure :: MissingErrorCodes ( codes) => {
1152
1152
eprint ! ( "Some expected error codes were not found: {codes:?}" ) ;
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ mod __doctest_mod {{
147
147
.expect(\" failed to run command\" );
148
148
if should_panic {{
149
149
if out.status.code() != Some(test::ERROR_EXIT_CODE) {{
150
- eprintln!(\" Test didn't panic, but it's marked `should_panic`.\" );
150
+ eprintln!(\" 2> Test didn't panic, but it's marked `should_panic`.\" );
151
151
ExitCode::FAILURE
152
152
}} else {{
153
153
ExitCode::SUCCESS
You can’t perform that action at this time.
0 commit comments