Sign in
android
/
toolchain
/
cargo-deny
/
HEAD
/
.
/
android
/
vendor
/
maybe-async-0.2.10
/
tests
/
ui
/
test_fail
/
01-empty-test.rs
blob: f409e7334a1a2162989f5039977bc4c01c7a3f29 [
file
] [
log
] [
blame
]
use
maybe_async
::
maybe_async
;
#[
maybe_async
]
async
fn
async_fn
()
->
bool
{
true
}
// at least one sync condition should be specified
#[
maybe_async
::
test
()]
async
fn
test_async_fn
()
{
let
res
=
async_fn
().
await
;
assert_eq
!(
res
,
true
);
}
fn
main
()
{
}