We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)); }
src/lib => coverage 50% !
"cargo cov" not show "internal_adder" function .. strange rustc --version : rustc 1.30.0-nightly (1c2e17f4e 2018-09-04)
Ami44
The text was updated successfully, but these errors were encountered:
No branches or pull requests
src/lib.rs:
tests/integration_test.rs:
src/lib => coverage 50% !
"cargo cov" not show "internal_adder" function .. strange
rustc --version : rustc 1.30.0-nightly (1c2e17f4e 2018-09-04)
Ami44
The text was updated successfully, but these errors were encountered: