about summary refs log tree commit diff
path: root/tests/coverage/coroutine.rs
AgeCommit message (Collapse)AuthorLines
2024-05-29Manually run `x fmt` on all source files in `tests/coverage/`Zalathar-1/+2
Currently we can't automatically enforce formatting on tests (see #125637), but we can at least keep things relatively tidy by occasionally running the formatter manually. This was done by temporarily commenting out the `"/tests/"` exclusion in `rustfmt.toml`, and then running `x fmt tests/coverage` and `x test coverage --bless`.
2024-05-29Tweak various coverage test files for slightly nicer formattingZalathar-2/+2
For coverage tests, splitting code across multiple lines often makes the resulting coverage report easier to interpret, so we force rustfmt to retain line breaks by adding dummy line comments with `//`.
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-2/+2
And suggest adding the `#[coroutine]` to the closure
2024-01-18coverage: Format all remaining testsZalathar-1/+5
These tests can simply be reformatted as normal, because the resulting changes are unimportant.
2023-11-07coverage: Migrate `tests/run-coverage` into `tests/coverage`Zalathar-0/+30