X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/5732d284ebc2cc2cbde0f050443b8f137dbf585b..b03284133baa6339fe4adf48e4a6499ef3ac287b:/src/file_handler/file_strategies/gemini.rs diff --git a/src/file_handler/file_strategies/gemini.rs b/src/file_handler/file_strategies/gemini.rs index e987bab..32cb99e 100644 --- a/src/file_handler/file_strategies/gemini.rs +++ b/src/file_handler/file_strategies/gemini.rs @@ -238,7 +238,7 @@ Hello world 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()); @@ -301,7 +301,7 @@ Hello world 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 = "\ @@ -328,7 +328,7 @@ Hello world 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());