fix tests
This commit is contained in:
parent
972252e5b7
commit
1442b69c88
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: RSS/Atom Feeds Fixed and Announcing my Flight Journal
|
||||
date: 07-26-2020
|
||||
date: 2020-07-26
|
||||
tags:
|
||||
- gemini
|
||||
---
|
||||
|
@ -13,10 +13,8 @@ in the feed, but I will bring it back as soon as possible.
|
|||
|
||||
Victory badges:
|
||||
|
||||
[](/blog.atom)
|
||||
[](/blog.rss)
|
||||
[](/blog.atom)
|
||||
[](/blog.rss)
|
||||
|
||||
Thanks to [W3Schools](https://www.w3schools.com/XML/xml_rss.asp) for having a
|
||||
minimal example of an RSS feed and [this Flickr
|
||||
|
|
|
@ -148,6 +148,7 @@ mod tests {
|
|||
use anyhow::Result;
|
||||
#[tokio::test]
|
||||
async fn init() -> Result<()> {
|
||||
let _ = pretty_env_logger::try_init();
|
||||
super::init("./config.dhall".into()).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
@ -111,18 +111,21 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn blog() -> Result<()> {
|
||||
let _ = pretty_env_logger::try_init();
|
||||
load("blog")?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn gallery() -> Result<()> {
|
||||
let _ = pretty_env_logger::try_init();
|
||||
load("gallery")?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn talks() -> Result<()> {
|
||||
let _ = pretty_env_logger::try_init();
|
||||
load("talks")?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue