file_type: FileType::Gemini,
};
- strategy.handle_html(&source_dir, &output_dir, &file, &layout);
+ strategy.handle_html(&source_dir, &output_dir, &file, layout);
let html_output = output_dir.join("test.html");
assert!(html_output.exists());
let test_dir = setup_test_dir();
let source_dir = test_dir.join("source");
let output_dir = test_dir.join("output");
- create_dir_all(&source_dir.join("nested")).expect("Could not create source test directory");
+ create_dir_all(source_dir.join("nested")).expect("Could not create source test directory");
create_dir_all(&output_dir).expect("Could not create output test directory");
let layout = "\
<html>
file_type: FileType::Gemini,
};
- strategy.handle_html(&source_dir, &output_dir, &file, &layout);
+ strategy.handle_html(&source_dir, &output_dir, &file, layout);
let html_output = output_dir.join("nested/test.html");
assert!(html_output.exists());