diff --git a/test/fixtures/doc.json b/test/fixtures/doc.json index 8b35fa7..ab39a49 100644 --- a/test/fixtures/doc.json +++ b/test/fixtures/doc.json @@ -48,5 +48,26 @@ " * @return ${4:void}", " */" ] + }, + { + "name": "Extra", + "config": { + "gap": true, + "extra": [ + "@author John Smith " + ] + }, + "input": { + "message": "Undocumented var", + "var": "int" + }, + "expected": [ + "/**", + " * ${1:Undocumented var}", + " *", + " * @var ${2:int}", + " * @author John Smith ", + " */" + ] } ]