aboutsummaryrefslogtreecommitdiff
path: root/tests/test_blog.rs
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-06-10 22:20:13 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-06-10 22:20:13 +0200
commit0e147a780e74b54afbd56ff7438077d855d5c1c2 (patch)
tree25296b0370513c757416ea6d5e7258b4069b1307 /tests/test_blog.rs
parent17d160e5f9cdd4e46b0ab08cf56eaedd8943d885 (diff)
downloadmacroblog.rs-0e147a780e74b54afbd56ff7438077d855d5c1c2.tar.gz
macroblog.rs-0e147a780e74b54afbd56ff7438077d855d5c1c2.tar.bz2
macroblog.rs-0e147a780e74b54afbd56ff7438077d855d5c1c2.zip
ref: Move from HTML to MD
Keep and write in html is pain, so I'm rendering md as html.
Diffstat (limited to 'tests/test_blog.rs')
-rw-r--r--tests/test_blog.rs4
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());
}