-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
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
Draft PR for issue #496 #768
base: master
Are you sure you want to change the base?
Conversation
if you pull all of the instances of
it compiles for me |
It did compile for me also now! I've never seen atribuiton like this way that you tought me!! |
Now that I have to change the tests, how could I start this ? |
I would start changing tests like this ? #[test]
fn test_rewrite_paths_basic() {
let mut result_map: CovResultMap = FxHashMap::default();
result_map.insert("main.cpp".to_string(), empty_result!());
let results = Box::new(rewrite_paths(
result_map,
None,
None,
None,
false,
&[""; 0],
&[""; 0],
None,
Default::default(),
).into_iter());
let mut count = 0;
for (abs_path, rel_path, result) in results {
count += 1;
assert_eq!(abs_path, PathBuf::from("main.cpp"));
assert_eq!(rel_path, PathBuf::from("main.cpp"));
assert_eq!(result, empty_result!());
}
assert_eq!(count, 1);
} |
For some reason cargo fmt did not linted :( |
This is related to issue #496