diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_blog.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |