This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
abc2c702af
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-15 21:42:33 -05: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-15 21:12:10 -06: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-15 21:42:33 -05:00
LL| 0| }
LL| 1|}
Rust coverage before splitting instrument_coverage.rs
2020-10-05 18:36:10 -05:00
Reference in New Issue
Copy Permalink