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