From a0fcec54cd1d984dabfac65b69f818f187eaaee0 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 8 Dec 2021 13:21:56 -0500 Subject: 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 --- users/grfn/emacs.d/snippets/rust-mode/async test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/grfn/emacs.d/snippets/rust-mode/async test') 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 -- cgit 1.4.1