How exclude coverage in /tests directory when i have this
src/lib.rs:
pub fn add_two(a: i32) -> i32 {
internal_adder(a, 2)
}
fn internal_adder(a: i32, b: i32) -> i32 {
a + b
}
tests/ integration_test.rs:
extern crate adder;
#[test]
fn it_adds_two() {
assert_eq!(4, adder::add_two(2));
}
Thanks
Ami44
How exclude coverage in
/testsdirectory when i have thissrc/lib.rs:
tests/ integration_test.rs:
Thanks
Ami44