From 6b6b1eb2d47a265442341c16c4a151726049e337 Mon Sep 17 00:00:00 2001 From: Neil Brayfield Date: Mon, 27 Mar 2017 17:27:05 +0100 Subject: [PATCH] Test extra --- test/fixtures/doc.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 ", + " */" + ] } ]