about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/snippets
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-01-19T15·53-0500
committerglittershark <grfn@gws.fyi>2021-01-29T21·47+0000
commit4856643282210b5d58130c8441929182552cc45f (patch)
tree36c9be64d08cbefcf2206fae897e72c4e2b28f06 /users/glittershark/emacs.d/snippets
parent31fcf6dfe4df5f1dd67cc7654680f7172e450828 (diff)
feat(gs/emacs): Add a proptest snippet r/2156
Change-Id: If1e0a206a19101928375cec230629de066f9326e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2429
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/emacs.d/snippets')
-rw-r--r--users/glittershark/emacs.d/snippets/rust-mode/proptest10
1 files changed, 10 insertions, 0 deletions
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 000000000000..377b3cfcf60c
--- /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