fix tests, oops

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-02-15 16:53:00 -05:00
parent f8c13c6eaa
commit 0034de3536
1 changed files with 3 additions and 3 deletions

View File

@ -133,20 +133,20 @@ mod tests {
#[tokio::test] #[tokio::test]
async fn blog() { async fn blog() {
let _ = pretty_env_logger::try_init(); let _ = pretty_env_logger::try_init();
load("blog", None).await.expect("posts to load"); load("blog").await.expect("posts to load");
} }
#[tokio::test] #[tokio::test]
async fn gallery() -> Result<()> { async fn gallery() -> Result<()> {
let _ = pretty_env_logger::try_init(); let _ = pretty_env_logger::try_init();
load("gallery", None).await?; load("gallery").await?;
Ok(()) Ok(())
} }
#[tokio::test] #[tokio::test]
async fn talks() -> Result<()> { async fn talks() -> Result<()> {
let _ = pretty_env_logger::try_init(); let _ = pretty_env_logger::try_init();
load("talks", None).await?; load("talks").await?;
Ok(()) Ok(())
} }
} }