Skip to content

Commit

Permalink
test: add windows
Browse files Browse the repository at this point in the history
  • Loading branch information
oneofthezombies committed Feb 12, 2024
1 parent 4064c3b commit b2ebb2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/libs/kill_tree/src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ mod tests {
parent_process_id: 1,
name: "1".to_string(),
};
assert_eq!(child_process_id_map_filter(&process_info), true);
assert!(child_process_id_map_filter(&process_info));
}

#[test]
Expand All @@ -251,7 +251,7 @@ mod tests {
parent_process_id: 0,
name: "1".to_string(),
};
assert_eq!(child_process_id_map_filter(&process_info), false);
assert!(!child_process_id_map_filter(&process_info));
}

#[test]
Expand All @@ -271,7 +271,7 @@ mod tests {
_ => panic!("Unexpected source: {source:?}",),
}
}
_ => panic!("Unexpected result: {result:?}",),
KillOutput::Killed { process_id } => panic!("Unexpected result: {process_id}"),
}
}

Expand Down

0 comments on commit b2ebb2e

Please sign in to comment.