]> git.r.bdr.sh - rbdr/page/blobdiff - src/file_handler/mod.rs
Update version of gema_texto
[rbdr/page] / src / file_handler / mod.rs
index e8a446b452f2d57b15e0661ed90a2de63a1a6e18..4e4bed9588946a2c928fdbd4b5426708ce369af2 100644 (file)
@@ -208,11 +208,16 @@ mod tests {
 
         let handler = FileHandler {
             strategies: vec![Box::new(mock_strategy)],
-            layout: None,
+            layout: Some("None".to_string()),
         };
 
         let path = PathBuf::from("test.whatever");
+        let file = File{
+            path: path.clone(),
+            file_type: FileType::Gemini
+        };
         assert!(matches!(handler.identify(&path), FileType::Gemini));
+        handler.handle(&path, &path, &path, &file);
     }
 
     #[test]