Attribute Macro xtor_derive::test
source · [−]#[test]
Expand description
Xtor test derive
Examples
ⓘ
#[xtor::test]
async fn test_xxx() {
println!("Hello, world!");
assert!(1 == 1);
}
#[test]
Xtor test derive
#[xtor::test]
async fn test_xxx() {
println!("Hello, world!");
assert!(1 == 1);
}