Fix bug that prevented a test from working correctly

This commit is contained in:
Federico Terzi 2019-11-30 19:06:19 +01:00
parent c9dd624637
commit 3873bccdd8

View File

@ -308,7 +308,7 @@ mod tests {
match _match.content {
MatchContentType::Image(content) => {
assert_eq!(content.path, "/path/to/file");
assert_eq!(content.path, PathBuf::from("/path/to/file"));
},
_ => {
assert!(false);