Skip to content

Commit

Permalink
Function no gap test
Browse files Browse the repository at this point in the history
  • Loading branch information
neild3r committed Mar 27, 2017
1 parent 684332f commit 054baba
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/fixtures/doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,27 @@
" * @author John Smith <john@smith.com>",
" */"
]
},
{
"name": "Function no gap",
"config": {
"gap": false,
"extra": []
},
"input": {
"message": "Undocumented function",
"params": [
{
"name": "$name",
"type": "int"
}
]
},
"expected": [
"/**",
" * ${1:Undocumented function}",
" * @param ${2:int} ${3:\\$name}",
" */"
]
}
]

0 comments on commit 054baba

Please sign in to comment.