a0fcec54cd
Add a stop at the `flavor` argument, since some async tests can use the default config. Change-Id: Iffd726b304d0d9dd94938bf23b2688715d1f4e20
10 lines
No EOL
167 B
Text
10 lines
No EOL
167 B
Text
# -*- mode: snippet -*-
|
|
# name: async test
|
|
# uuid:
|
|
# key: atest
|
|
# condition: t
|
|
# --
|
|
#[tokio::test${1:(flavor = "multi_thread")}]
|
|
async fn ${2:test_name}() {
|
|
`%`$0
|
|
} |