Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Pull in test snippet from vscode-rust
Browse files Browse the repository at this point in the history
  • Loading branch information
inferiorhumanorgans committed Aug 22, 2018
1 parent 02dab14 commit 50a4e37
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions snippets/rust.json
Expand Up @@ -92,5 +92,15 @@
"#[cfg(${1})]"
],
"description": "#[cfg(…)]"
},
"test": {
"prefix": "test",
"body": [
"#[test]",
"fn ${1:name}() {",
" ${2:unimplemented!();}",
"}"
],
"description": "#[test]"
}
}

0 comments on commit 50a4e37

Please sign in to comment.