forked from cadey/xesite
fix tests, oops
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
f8c13c6eaa
commit
0034de3536
|
@ -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(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue