diff --git a/test/fixtures/doc.json b/test/fixtures/doc.json index e333637..d60b7f5 100644 --- a/test/fixtures/doc.json +++ b/test/fixtures/doc.json @@ -67,5 +67,31 @@ " * @author John Smith ", " */" ] + }, + { + "name": "Function params no return", + "config": { + "gap": true, + "extra": [ + "@author John Smith " + ] + }, + "input": { + "message": "Undocumented function", + "params": [ + { + "name": "$name", + "type": "int" + } + ] + }, + "expected": [ + "/**", + " * ${1:Undocumented function}", + " *", + " * @param ${2:int} ${3:\\$name}", + " * @author John Smith ", + " */" + ] } ]