mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
bfb16545a3
This makes the test snapshots less sensitive to lines being added/removed.
12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
LL| |// Verify that the entry point injected by the test harness doesn't cause
|
|
LL| |// weird artifacts in the coverage report (e.g. issue #10749).
|
|
LL| |
|
|
LL| |// compile-flags: --test
|
|
LL| |
|
|
LL| |#[allow(dead_code)]
|
|
LL| 0|fn unused() {}
|
|
LL| |
|
|
LL| 1|#[test]
|
|
LL| 1|fn my_test() {}
|
|
|