1 #[futures_test::test] it_works()2async fn it_works() { 3 let fut = async { true }; 4 assert!(fut.await); 5 6 let fut = async { false }; 7 assert!(!fut.await); 8 } 9 10 #[should_panic] 11 #[futures_test::test] it_is_being_run()12async fn it_is_being_run() { 13 let fut = async { false }; 14 assert!(fut.await); 15 } 16 17 #[futures_test::test] return_ty() -> Result<(), ()>18async fn return_ty() -> Result<(), ()> { 19 Ok(()) 20 } 21