From 0e147a780e74b54afbd56ff7438077d855d5c1c2 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 10 Jun 2022 22:20:13 +0200 Subject: ref: Move from HTML to MD Keep and write in html is pain, so I'm rendering md as html. --- tests/test_blog.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_blog.rs b/tests/test_blog.rs index 31d5725..b72f800 100644 --- a/tests/test_blog.rs +++ b/tests/test_blog.rs @@ -5,7 +5,7 @@ use chrono::NaiveDate; #[test] fn test_create_blog_entry() { - let asset_filename = String::from("2021-12-03Enable_NFS_on_K3S.html"); + let asset_filename = String::from("2021-12-03Enable_NFS_on_K3S.md"); let post_date = NaiveDate::from_ymd(2021, 12, 03); let blog_entry = BlogEntry::new(&asset_filename); @@ -23,7 +23,7 @@ fn test_read_assets() { #[test] fn test_render_post_page() { - let path = &String::from("2020-07-14Friz_box_turned_off_DHCP.html"); + let path = &String::from("2020-07-14Friz_box_turned_off_DHCP.md"); let page = render_post_page(path); assert!(!page.is_empty()); } -- cgit v1.2.3