about summary refs log tree commit diff
path: root/tests/coverage/try_error_result.coverage
AgeCommit message (Collapse)AuthorLines
2025-05-06coverage: Only merge adjacent coverage spansZalathar-6/+6
This also removes some manipulation of the function signature span that only made sense in the context of merging non-adjacent spans.
2025-04-01coverage: Shrink call spans to just the function nameZalathar-1/+1
This is a way to shrink call spans that doesn't involve mixing different spans, and avoids overlap with argument spans. This patch also removes some low-value comments that were causing rustfmt to ignore the match arms.
2024-05-29Tweak various coverage test files for slightly nicer formattingZalathar-3/+1
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-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2024-01-16coverage: Add `#[rustfmt::skip]` to tests with non-standard formattingZalathar-0/+3
These tests deliberately use non-standard formatting, so that the line execution counts reported by `llvm-cov` reveal additional information about where code regions begin and end.
2023-11-07coverage: Migrate `tests/run-coverage` into `tests/coverage`Zalathar-0/+125