diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-12-08T18·21-0500 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-12-09T02·08+0000 |
commit | a0fcec54cd1d984dabfac65b69f818f187eaaee0 (patch) | |
tree | 9384540a7e9ed2616e1d3fe59e45647034972321 /users/grfn/emacs.d/snippets/rust-mode/async test | |
parent | d4c765743ed7b29573f4ca4b4c2b05247a7f12eb (diff) |
feat(grfn/emacs): Tweak rust async_test snippets r/3164
Add a stop at the `flavor` argument, since some async tests can use the default config. Change-Id: Iffd726b304d0d9dd94938bf23b2688715d1f4e20
Diffstat (limited to 'users/grfn/emacs.d/snippets/rust-mode/async test')
-rw-r--r-- | users/grfn/emacs.d/snippets/rust-mode/async test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/grfn/emacs.d/snippets/rust-mode/async test b/users/grfn/emacs.d/snippets/rust-mode/async test index 8465225663fb..27410754742a 100644 --- a/users/grfn/emacs.d/snippets/rust-mode/async test +++ b/users/grfn/emacs.d/snippets/rust-mode/async test @@ -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 } \ No newline at end of file |