[−][src]Attribute Macro async_attributes::test
#[test]
Creates an async unit test.
Examples
ⓘThis example is not tested
#[async_attributes::test] async fn my_test() -> std::io::Result<()> { assert_eq(2 * 2, 4); Ok(()) }
#[test]
Creates an async unit test.
#[async_attributes::test] async fn my_test() -> std::io::Result<()> { assert_eq(2 * 2, 4); Ok(()) }