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