Improve subreddit test

This commit is contained in:
Matthew Esposito 2023-06-08 14:06:58 -04:00
parent 0ca0eefaa4
commit 49dde7ad72
No known key found for this signature in database

View File

@ -437,5 +437,6 @@ async fn subreddit(sub: &str, quarantined: bool) -> Result<Subreddit, String> {
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
async fn test_fetching_subreddit() {
subreddit("rust", false).await.unwrap();
let subreddit = subreddit("rust", false).await;
assert!(subreddit.is_ok());
}