1 #[futures_test::test]
it_works()2 async 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()12 async fn it_is_being_run() {
13     let fut = async { false };
14     assert!(fut.await);
15 }
16 
17 #[futures_test::test]
return_ty() -> Result<(), ()>18 async fn return_ty() -> Result<(), ()> {
19     Ok(())
20 }
21