about summary refs log tree commit diff
path: root/users/grfn/emacs.d/snippets/rust-mode/tests
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/emacs.d/snippets/rust-mode/tests')
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/snippets/rust-mode/tests b/users/grfn/emacs.d/snippets/rust-mode/tests
new file mode 100644
index 000000000000..0a476ab58661
--- /dev/null
+++ b/users/grfn/emacs.d/snippets/rust-mode/tests
@@ -0,0 +1,9 @@
+# key: tests
+# name: test module
+# --
+#[cfg(test)]
+mod ${1:tests} {
+    use super::*;
+
+    $0
+}