From 4856643282210b5d58130c8441929182552cc45f Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 19 Jan 2021 10:53:35 -0500 Subject: feat(gs/emacs): Add a proptest snippet Change-Id: If1e0a206a19101928375cec230629de066f9326e Reviewed-on: https://cl.tvl.fyi/c/depot/+/2429 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/emacs.d/snippets/rust-mode/proptest | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 users/glittershark/emacs.d/snippets/rust-mode/proptest diff --git a/users/glittershark/emacs.d/snippets/rust-mode/proptest b/users/glittershark/emacs.d/snippets/rust-mode/proptest new file mode 100644 index 0000000000..377b3cfcf6 --- /dev/null +++ b/users/glittershark/emacs.d/snippets/rust-mode/proptest @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: proptest +# uuid: +# key: proptest +# condition: t +# -- +#[proptest] +fn ${1:test_name}($2) { + `%`$0 +} \ No newline at end of file -- cgit 1.4.1