rust/library/test/src
Oleksii Lozovskyi 069cf9dfc9 rustdoc: Write newline differently
Fix the panic in write_message() which expects messages to contain
no embedded newlines. We still want a trailing newline at the end
of the file though, so write it in different manner.

Doctest runner no longer panics, but the output is kinda broken
when `compile_fail` doctests are present. This is because they
are not mergeable.
2025-12-13 16:31:09 +09:00
..
formatters rustdoc: Write newline differently 2025-12-13 16:31:09 +09:00
helpers test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
stats test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
term Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton 2025-02-17 06:37:37 +01:00
bench.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
cli.rs Rollup merge of #142807 - sourcefrog:failfast, r=dtolnay 2025-09-17 14:56:41 +10:00
console.rs Add new test::print_merged_doctests_times used by rustdoc to display more detailed time information and add new OutputFormatter::write_merged_doctests_times method to handle it 2025-08-04 16:06:56 +02:00
event.rs Do fewer passes and generally be more efficient when filtering tests 2022-10-27 21:34:56 -04:00
lib.rs Add new test::print_merged_doctests_times used by rustdoc to display more detailed time information and add new OutputFormatter::write_merged_doctests_times method to handle it 2025-08-04 16:06:56 +02:00
options.rs test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
stats.rs Fix doc nits 2024-07-26 13:26:33 +01:00
term.rs test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
test_result.rs Remove backticks from ShouldPanic::YesWithMessage's TrFailedMsg 2025-04-28 21:40:29 +02:00
tests.rs Remove backticks from ShouldPanic::YesWithMessage's TrFailedMsg 2025-04-28 21:40:29 +02:00
time.rs test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
types.rs Reduce merged doctest source code size 2024-08-13 20:14:56 +02:00