refactor: Remove 'Default' from #derive[] & Log out error in sad path test

pull/6/head
sgoudham 3 years ago
parent b779499d18
commit 5da7959545
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -13,7 +13,6 @@ mod utils;
const MAX_LINK_NESTED_DEPTH: usize = 10; const MAX_LINK_NESTED_DEPTH: usize = 10;
#[derive(Default)]
pub struct Template; pub struct Template;
impl Template { impl Template {
@ -288,6 +287,8 @@ mod lib_tests {
#[test] #[test]
fn test_sad_path_invalid_file() { fn test_sad_path_invalid_file() {
env_logger::init_from_env(env_logger::Env::default().default_filter_or("info"));
let start_chapter_content = "{{#template footer.md}}"; let start_chapter_content = "{{#template footer.md}}";
let actual_chapter_content = let actual_chapter_content =

Loading…
Cancel
Save