Skip to content

Commit

Permalink
Merge aa9e54d into 590ef8a
Browse files Browse the repository at this point in the history
  • Loading branch information
markjaquith committed Oct 8, 2018
2 parents 590ef8a + aa9e54d commit 4338626
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class Doc
snippet.appendText("\n * @param ");
snippet.appendVariable(stop++ + '', param.type);
snippet.appendText(" ");
snippet.appendVariable(stop++ + '', param.name);
snippet.appendText(param.name);
});
}

Expand Down
14 changes: 7 additions & 7 deletions test/fixtures/doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"/**",
" * ${1:Undocumented function}",
" *",
" * @param ${2:int} ${3:\\$name}",
" * @return ${4:void}",
" * @param ${2:int} \\$name",
" * @return ${3:void}",
" */"
]
},
Expand Down Expand Up @@ -105,7 +105,7 @@
"/**",
" * ${1:Undocumented function}",
" *",
" * @param ${2:int} ${3:\\$name}",
" * @param ${2:int} \\$name",
" * @author John Smith <john@smith.com>",
" */"
]
Expand All @@ -128,7 +128,7 @@
"expected": [
"/**",
" * ${1:Undocumented function}",
" * @param ${2:int} ${3:\\$name}",
" * @param ${2:int} \\$name",
" */"
]
},
Expand All @@ -154,7 +154,7 @@
"/**",
" * ${1:Undocumented function}",
" *",
" * @param ${2:int} ${3:\\$name}",
" * @param ${2:int} \\$name",
" *",
" * @author John Smith <john@smith.com>",
" */"
Expand All @@ -180,9 +180,9 @@
"/**",
" * ${1:Undocumented function}",
" *",
" * @param ${2:int} ${3:\\$name}",
" * @param ${2:int} \\$name",
" *",
" * @return ${4:void}",
" * @return ${3:void}",
" */"
]
}
Expand Down

0 comments on commit 4338626

Please sign in to comment.