tvl-depot/users/grfn/emacs.d/snippets/rust-mode/async test
Griffin Smith a0fcec54cd 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
2021-12-09 02:08:50 +00:00

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
}