Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
168 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: test module
  3. # key: testmod
  4. # --
  5. #[cfg(test)]
  6. mod ${1:tests} {
  7. use super::*;
  8. #[test]
  9. fn ${2:test_name}() {
  10. $0
  11. }
  12. }