This website requires JavaScript.
Explore
Help
Sign in
mathieu
/
os-rust
Watch
1
Star
0
Fork
You've already forked os-rust
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
42e71bb8ea
os-rust
/
tests
/
coverage
/
while.coverage
8 lines
165 B
Text
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 12:42:33 +10: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 14:12:10 +11: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 12:42:33 +10:00
LL| 0| }
LL| 1|}
Rust coverage before splitting instrument_coverage.rs
2020-10-05 16:36:10 -07:00
Reference in a new issue
Copy permalink