Skip to content

Commit

Permalink
Add some missing \@return comments
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Jul 8, 2022
1 parent 60b09a2 commit f9c5b23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rubocop/cop/rspec/no_expectation_example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def on_block(node)
private

# @param [RuboCop::AST::BlockNode] node
# @return [Boolean]
def example_method_call?(node)
Examples.all(node.method_name)
end
Expand All @@ -76,6 +77,7 @@ def including_any_expectation?(node)
end

# @param [RuboCop::AST::Node] node
# @return [Parser::Source::Range]
def removed_range(node)
range_by_whole_lines(
node.location.expression,
Expand Down

0 comments on commit f9c5b23

Please sign in to comment.