about summary refs log tree commit diff
path: root/tests/coverage/try_error_result.cov-map
AgeCommit message (Collapse)AuthorLines
2024-05-29Tweak various coverage test files for slightly nicer formattingZalathar-6/+6
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-05-14coverage: Simplify counter expressions using simple algebraZalathar-20/+12
Some of these cases currently don't occur in practice, but are included for completeness, and to avoid having to add them later as branch coverage and MC/DC coverage start building more complex expressions.
2024-02-09Enable by default.Camille GILLOT-134/+103
2024-01-16coverage: Add `#[rustfmt::skip]` to tests with non-standard formattingZalathar-10/+10
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-25coverage: Simplify building coverage expressions based on sumsZalathar-9/+9
In some cases we need to prepare a coverage expression that is the sum of an arbitrary number of other terms. This patch simplifies the code paths that build those sums. This causes some churn in the mappings, because the previous code was building its sums in a somewhat idiosyncratic order.
2023-11-07coverage: Migrate `tests/coverage-map` into `tests/coverage`Zalathar-0/+220