This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-04-28 19:17:43 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a47173c4f7
rust
/
tests
/
coverage
/
while.coverage
8 lines
165 B
Plaintext
Raw
Normal View
History
Unescape
Escape
coverage: Anonymize line numbers in `run-coverage` test snapshots This makes the test snapshots less sensitive to lines being added/removed.
2023-08-16 02:42:33 +00:00
LL| 1|fn main() {
LL| 1| let num = 9;
LL| 1| while num >= 10 {
coverage: Tweak individual tests to be unaffected by `rustfmt` Some of these tests use non-standard formatting that we can simulate by strategically adding `//` line comments. One contains `where` clauses that would be split across multiple lines, which we can keep on one line by moving the bounds to the generic type instead.
2024-01-16 03:12:10 +00:00
LL| 0| // loop body
coverage: Anonymize line numbers in `run-coverage` test snapshots This makes the test snapshots less sensitive to lines being added/removed.
2023-08-16 02:42:33 +00:00
LL| 0| }
LL| 1|}
Rust coverage before splitting instrument_coverage.rs
2020-10-05 23:36:10 +00:00
Reference in New Issue
Copy Permalink