Skip to content

Commit

Permalink
Fix monitor second path in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed Apr 25, 2024
1 parent 8b3dfb0 commit 71ff7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appconfig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ mod tests {
assert_eq!(yaml[0]["monitor"][0]["path"].as_str().unwrap(), "C:\\Program Files\\");
assert_eq!(yaml[0]["monitor"][0]["labels"][0].as_str().unwrap(), "Program Files");
assert_eq!(yaml[0]["monitor"][0]["labels"][1].as_str().unwrap(), "windows");
assert_eq!(yaml[0]["monitor"][1]["path"].as_str().unwrap(), format!("{}:\\Users\\", disk) );
assert_eq!(yaml[0]["monitor"][1]["path"].as_str().unwrap(), "C:\\Users\\" );
assert_eq!(yaml[0]["monitor"][1]["labels"][0].as_str().unwrap(), "Users");
assert_eq!(yaml[0]["monitor"][1]["labels"][1].as_str().unwrap(), "windows");

Expand Down

0 comments on commit 71ff7a6

Please sign in to comment.