Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jan 8, 2024
1 parent c959153 commit 636a33c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class MissingParameterDescRule : CommentRule() {
}

val matchNames = matches.map { it.groupValues[1] }.toSet()
val nodeNames = node.Parameters.map { it.TypeType }.toSet()
val nodeNames = node.Parameters.map { it.TypeValue }.toSet()

if (matchNames != nodeNames) {
callback(this, IssuePosition())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ class IssueEmitCallback : IssueEmit {
override fun invoke(rule: Rule, position: IssuePosition) {
hasIssue = true
}
}
}

0 comments on commit 636a33c

Please sign in to comment.