Sign in
android
/
platform
/
external
/
rust
/
crates
/
maybe-async
/
0f9d29e49fdeb60f3e116ba3c8e49f6197b2102f
/
.
/
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
()
{
}