coverage: Migrate tests/run-coverage
into tests/coverage
This commit is contained in:
parent
aea7c27eae
commit
e9d04c5e24
105 changed files with 7 additions and 9 deletions
14
tests/coverage/unused_mod.coverage
Normal file
14
tests/coverage/unused_mod.coverage
Normal file
|
@ -0,0 +1,14 @@
|
|||
$DIR/auxiliary/unused_mod_helper.rs:
|
||||
LL| |#[allow(dead_code)]
|
||||
LL| 0|pub fn never_called_function() {
|
||||
LL| 0| println!("I am never called");
|
||||
LL| 0|}
|
||||
|
||||
$DIR/unused_mod.rs:
|
||||
LL| |#[path = "auxiliary/unused_mod_helper.rs"]
|
||||
LL| |mod unused_module;
|
||||
LL| |
|
||||
LL| 1|fn main() {
|
||||
LL| 1| println!("hello world!");
|
||||
LL| 1|}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue