Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
8da95ac135ad919a692b82d32419eb5ae0ede84c
rust/tests/coverage/while.coverage

8 lines
165 B
Plaintext
Raw Normal View History

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 New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 989ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API