Skip to content

Commit

Permalink
Ignore case for path compare
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadravid committed Nov 7, 2020
1 parent a3959a7 commit 53ab003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ mod tests {
let mut filters = HashMap::new();
filters.insert(String::from("Name"), FilterValue::String(tmp_dir_path.clone()));
let directory = wmi_con.filtered_query::<Win32_Directory>(&filters).unwrap().pop().unwrap();
assert_eq!(directory.Name, tmp_dir_path);
assert_eq!(directory.Name.to_lowercase(), tmp_dir_path.to_lowercase());
}

#[test]
Expand Down

0 comments on commit 53ab003

Please sign in to comment.