From 3873bccdd891f28745c3d1afb5beca1e67915b0c Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 30 Nov 2019 19:06:19 +0100 Subject: [PATCH] Fix bug that prevented a test from working correctly --- src/matcher/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matcher/mod.rs b/src/matcher/mod.rs index 947dce0..c1ac263 100644 --- a/src/matcher/mod.rs +++ b/src/matcher/mod.rs @@ -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);