Skip to content

Commit d226a01

Browse files
committed
test(require-hyphen-before-description): have second param be distinct to avoid confusion with duplicate param checks in other rules
1 parent fa5a295 commit d226a01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rules/assertions/requireHyphenBeforeParamDescription.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default {
5858
code: `
5959
/**
6060
* @param foo - Foo.
61-
* @param foo Foo.
61+
* @param bar Foo.
6262
*/
6363
function quux () {
6464
@@ -76,7 +76,7 @@ export default {
7676
output: `
7777
/**
7878
* @param foo - Foo.
79-
* @param foo - Foo.
79+
* @param bar - Foo.
8080
*/
8181
function quux () {
8282

0 commit comments

Comments
 (0)