use reddit_rs::RedditClient; /* models::link::Sort, */ // #[tokio::test] // async fn listing() { // let mut client = RedditClient::from_env(&dotenv::var("REDDIT_CLIENT_NAME").unwrap()) // .await // .unwrap(); // let links = client // .get_subreddit_posts("benluelo_testing", Sort::New, None) // .await; // assert!(links.is_ok()) // } #[tokio::test] async fn comment() { let mut client = RedditClient::from_env(&dotenv::var("REDDIT_CLIENT_NAME").unwrap()) .await .unwrap(); let links = client.get_comments().await; links.unwrap(); // assert!(links.is_ok()) }