feat(grfn/emacs): Tweak rust async_test snippets
Add a stop at the `flavor` argument, since some async tests can use the default config. Change-Id: Iffd726b304d0d9dd94938bf23b2688715d1f4e20
This commit is contained in:
parent
d4c765743e
commit
a0fcec54cd
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
# key: atest
|
||||
# condition: t
|
||||
# --
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn ${1:test_name}() {
|
||||
#[tokio::test${1:(flavor = "multi_thread")}]
|
||||
async fn ${2:test_name}() {
|
||||
`%`$0
|
||||
}
|
Loading…
Reference in a new issue